{"id":22075713,"url":"https://github.com/mazfreelance/lumen-boilerplate","last_synced_at":"2026-04-29T11:02:15.754Z","repository":{"id":37719164,"uuid":"505795807","full_name":"mazfreelance/Lumen-Boilerplate","owner":"mazfreelance","description":"quick setup and get into API development asap.","archived":false,"fork":false,"pushed_at":"2023-07-27T00:45:47.000Z","size":483,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-23T20:12:45.850Z","etag":null,"topics":["boilerplate","boilerplate-template","laravel-framework","lumen-9","lumen-framework","php","php-boilerplate","porto-software-architure"],"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/mazfreelance.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":"2022-06-21T10:30:52.000Z","updated_at":"2023-07-27T14:15:29.000Z","dependencies_parsed_at":"2024-11-30T22:11:08.130Z","dependency_job_id":null,"html_url":"https://github.com/mazfreelance/Lumen-Boilerplate","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mazfreelance/Lumen-Boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazfreelance%2FLumen-Boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazfreelance%2FLumen-Boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazfreelance%2FLumen-Boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazfreelance%2FLumen-Boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazfreelance","download_url":"https://codeload.github.com/mazfreelance/Lumen-Boilerplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazfreelance%2FLumen-Boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32422532,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["boilerplate","boilerplate-template","laravel-framework","lumen-9","lumen-framework","php","php-boilerplate","porto-software-architure"],"created_at":"2024-11-30T22:11:02.691Z","updated_at":"2026-04-29T11:02:15.726Z","avatar_url":"https://github.com/mazfreelance.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lumen Boilerplate\n- A Lumen boilerplate for quick setup and get into development asap.\n- Development setup for API\n\n## Version\n- 20th June 2022 - 9.x\n\n## Feature Include\n- Reorganized app structure using [Porto (Software Architectural Pattern)](http://apiato.io/docs/9.x/getting-started/software-architectural-patterns/)\n    - `Containers` (Application features/functionalities)\n    - `Ship` (The Parent classes \"Base classes\" of the Ship layer gives full control over the Container's Components)\n- Implemented [Sentry](https://sentry.io/welcome/sentry) is on a mission to help developers write better software faster, so we can get back to enjoying technology.\n- Implemented supporting custom facades such as executor, responder, helper, logger\n    - `Executor` (For executer function)\n    - `Responder` (For respoder function)\n    - `Helper` (For helper function)\n    - `Logger` (For debug function)\n- Implemented base login, logout, forgot and reset password, email verification, refresh token and get user information API using `Laravel Passport`\n    - allow multiple login and multiple device\n    - use `/v1/authentications/refresh-token` if access token expired.\n    - Open the `.env` file and update the variable to your own variable and do not forget to set the following:\n    ```\n    ALLOW_LOGIN_MULTIPLE_TOKEN=true\n    ```\n    \u003eThis will be the default is false. User can login one(1) device only.\n- Implemented debugging tool for developer using `Sentry`\n- Implemented Import/Export to excel\n- Clean controller setup\n\t- Controller will only inject `Action` class and should only call the `execute` method.\n\t- All business logic related function is handled in `Action` class\n- Standardized API response which include:\n\t- Unauthorized request\n\t- Validation request\n- Support CORS\n- Support API versioning\n\n## Package Include\n- Form Request\n- Pusher\n- Redis\n- Enum\n- Passport\n- Eloquent Filter\n- [Action \u0026 Data Transfer Object](https://github.com/mazfreelance/laravel-command-generator)\n- Spatie/Slugable\n- Spatie/Laravel Permission\n- Sentry\n- Guzzle HTTP\n- Maatwebsite/excel\n\n## Prerequisite\nFork this repository to your own repository.\n\n## Setup Guide\nClone the forked repository to your system using GUI tools or command line \n```bash\ngit clone \u003cyour_repository_url\u003e \u003cdirectory_to_clone_to\u003e\n```\n\nCopy `.env.example` and rename as a new file as `.env`\n\nAfter setting your `.env` file, run: \n```bash\ncomposer install\n```\n\nAfter composer install finish, run the following command to set application key.\n```bash\nphp artisan key:generate\n```\n\nThen run migration command and seed the database.\n```bash\nphp artisan migrate --seed\n```\n\nNext, run the following command to setup `Passport` and `Telescope`\n```bash\nphp artisan passport:install --uuids\n```\n\n\u003eIf already setup `Passport`\n* create personal client\n```bash\nphp artisan passport:client --personal\n```\n\n## Unit Test\n\u003e for run phpunit test in laravel by many ways ..\n```bash\nvendor/bin/phpunit --filter methodName className pathTofile.php\nvendor/bin/phpunit --filter 'namespace\\\\directoryName\\\\className::methodName'\n```\n\n\u003e for test single class:\n```bash\nvendor/bin/phpunit tests/Feature/UserTest.php\nvendor/bin/phpunit --filter  tests/Feature/UserTest.php\nvendor/bin/phpunit --filter 'Tests\\\\Feature\\\\UserTest'\nvendor/bin/phpunit --filter 'UserTest' \n```\n\n\u003e for test single method:\n```bash\n vendor/bin/phpunit --filter testExample \n vendor/bin/phpunit --filter 'Tests\\\\Feature\\\\UserTest::testExample'\n vendor/bin/phpunit --filter testExample UserTest tests/Feature/UserTest.php\n```\n\n\u003e for run tests from all class within namespace:\n```bash\nvendor/bin/phpunit --filter 'Tests\\\\Feature'\n```\n\n## Error code\n| code | error no                                                  |\n|------|-----------------------------------------------------------|\n|400   | 0 - Bad Request, 1 - General Error, 2 - User online status|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazfreelance%2Flumen-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazfreelance%2Flumen-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazfreelance%2Flumen-boilerplate/lists"}