{"id":15027151,"url":"https://github.com/gbrayhan/laravel-php-8","last_synced_at":"2026-01-18T18:33:17.294Z","repository":{"id":38111234,"uuid":"417951816","full_name":"gbrayhan/laravel-php-8","owner":"gbrayhan","description":"Boilerplate Laravel PHP8, using SQL, JWT, Swagger, Docker, Migrations. ","archived":false,"fork":false,"pushed_at":"2023-03-06T13:24:30.000Z","size":1938,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T11:09:16.572Z","etag":null,"topics":["docker-compose","jwt","jwt-authentication","laravel","migrations","mysql","php-8","php8","swagger"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gbrayhan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-16T21:23:40.000Z","updated_at":"2021-10-22T17:39:22.000Z","dependencies_parsed_at":"2024-12-18T07:44:48.502Z","dependency_job_id":"ba67e817-b838-4bda-9c56-c44ab539f3fb","html_url":"https://github.com/gbrayhan/laravel-php-8","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbrayhan%2Flaravel-php-8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbrayhan%2Flaravel-php-8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbrayhan%2Flaravel-php-8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbrayhan%2Flaravel-php-8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbrayhan","download_url":"https://codeload.github.com/gbrayhan/laravel-php-8/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280177,"owners_count":20912965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-compose","jwt","jwt-authentication","laravel","migrations","mysql","php-8","php8","swagger"],"created_at":"2024-09-24T20:05:51.656Z","updated_at":"2026-01-18T18:33:17.284Z","avatar_url":"https://github.com/gbrayhan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Boilerplate Laravel 8 and PHP 8 \n\nThis repo is functionality complete — PRs and issues welcome!\n\n----------\n\n# Getting started\n\n## Installation\n\nPlease check the official laravel installation guide for server requirements before you start. [Official Documentation](https://laravel.com/docs/5.4/installation#installation)\n\nAlternative installation is possible without local dependencies relying on [Docker](#docker).\n\nClone the repository\n\n    git clone git@github.com:gbrayhan/laravel-php-8.git\n\nSwitch to the repo folder\n\n    cd laravel-php-8\n\nInstall all the dependencies using composer\n\n    composer install\n\nCopy the example env file and make the required configuration changes in the .env file\n\n    cp .env.example .env\n\nGenerate a new application key\n\n    php artisan key:generate\n\nGenerate a new JWT authentication secret key\n\n     php artisan jwt:secret\n\nRun the database migrations (**Set the database connection in .env before migrating**)\n\n    php artisan migrate\n\nStart the local development server\n\n    php artisan serve\n\nYou can now access the server at http://localhost:8000\n\n**TL;DR command list**\n\n    git clone git@github.com:gbrayhan/laravel-php-8.git\n    cd laravel-php-8\n    composer install\n    cp .env.example .env\n    php artisan key:generate\n    php artisan jwt:secret\n\n\n**Make sure you set the correct database connection information before running the migrations** [Environment variables](#environment-variables)\n\n    php artisan migrate\n    php artisan serve\n\n## Docker\n\nTo install with [Docker](https://www.docker.com), run following commands:\n\n```\ngit clone git@github.com:gbrayhan/laravel-php-8.git\ncd laravel-php-8\ncp .env.example .env\ndocker-compose up -d\ndocker exec php_app php artisan key:generate\ndocker exec php_app php artisan jwt:secret\ndocker exec php_app php artisan migrate\n```\n\nThe api can be accessed at [http://localhost:8000/api](http://localhost:8000/api).\n\n## API Specification\n\nThis application adheres to the api specifications set by the [Thinkster](https://github.com/gothinkster) team. This helps mix and match any backend with any other frontend without conflicts.\n\n\u003e [Full API Spec](https://github.com/gothinkster/realworld/tree/master/api)\n\nMore information regarding the project can be found here https://github.com/gothinkster/realworld\n\n----------\n\n# Code overview\n\n## Dependencies\n\n- [jwt-auth](https://github.com/tymondesigns/jwt-auth) - For authentication using JSON Web Tokens\n- [darkaonline/l5-swagge](https://github.com/darkaonline/l5-swagge) - For API Documentation based on API SWAGGE\n\n## Environment variables\n\n- `.env` - Environment variables can be set in this file\n\n***Note*** : You can quickly set the database information and other variables in this file and have the application fully working.\n\n----------\n# Authentication\n\nThis applications uses JSON Web Token (JWT) to handle authentication. The token is passed with each request using the `Authorization` header with `Token` scheme. The JWT authentication middleware handles the validation and authentication of the token. Please check the following sources to learn more about JWT.\n\n- https://jwt.io/introduction/\n- https://self-issued.info/docs/draft-ietf-oauth-json-web-token.html\n\n----------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbrayhan%2Flaravel-php-8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbrayhan%2Flaravel-php-8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbrayhan%2Flaravel-php-8/lists"}