{"id":36996280,"url":"https://github.com/wr2net/laravel-module-create","last_synced_at":"2026-01-13T23:48:38.449Z","repository":{"id":222345710,"uuid":"658986369","full_name":"wr2net/laravel-module-create","owner":"wr2net","description":"Create complete module on Laravel for new resource. An entire resource create with just one command for Laravel.","archived":false,"fork":false,"pushed_at":"2025-10-02T03:36:47.000Z","size":152,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-02T05:35:53.372Z","etag":null,"topics":["laravel","php8"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/wr2net/lm-create","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wr2net.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-26T23:22:16.000Z","updated_at":"2025-10-02T03:36:20.000Z","dependencies_parsed_at":"2024-11-29T21:16:04.443Z","dependency_job_id":"b4e19ec8-7fa3-4881-98f0-24bf2707c7af","html_url":"https://github.com/wr2net/laravel-module-create","commit_stats":null,"previous_names":["wr2net/laravel_module_create","wr2net/laravel-module-create","wr2net/lm-create"],"tags_count":42,"template":false,"template_full_name":null,"purl":"pkg:github/wr2net/laravel-module-create","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr2net%2Flaravel-module-create","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr2net%2Flaravel-module-create/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr2net%2Flaravel-module-create/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr2net%2Flaravel-module-create/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wr2net","download_url":"https://codeload.github.com/wr2net/laravel-module-create/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wr2net%2Flaravel-module-create/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28405431,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T21:51:37.118Z","status":"ssl_error","status_checked_at":"2026-01-13T21:45:14.585Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["laravel","php8"],"created_at":"2026-01-13T23:48:38.373Z","updated_at":"2026-01-13T23:48:38.435Z","avatar_url":"https://github.com/wr2net.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Module Create\n![LM-CREATE](https://img.shields.io/badge/Laravel%20Module%20Create-grey?style=for-the-badge\u0026logo=laravel)\n\n[![Packagist Downloads](https://img.shields.io/packagist/dt/wr2net/lm-create)](https://packagist.org/packages/wr2net/lm-create)\n[![GitHub Release](https://img.shields.io/github/v/release/wr2net/laravel-module-create)](https://packagist.org/packages/wr2net/lm-create)\n[![GitHub License](https://img.shields.io/github/license/wr2net/laravel-module-create)](https://github.com/wr2net/laravel-module-create/blob/master/LICENSE)\n[![PHP Version](https://img.shields.io/packagist/php-v/grazulex/laravel-draftable.svg?style=flat-square)](https://php.net/)\n[![Laravel Version](https://img.shields.io/badge/laravel-10.x-ff2d20?style=flat-square\u0026logo=laravel)](https://laravel.com/docs/10.x)\n[![Laravel Version](https://img.shields.io/badge/laravel-11.x-ff2d20?style=flat-square\u0026logo=laravel)](https://laravel.com/docs/11.x)\n[![Laravel Version](https://img.shields.io/badge/laravel-12.x-ff2d20?style=flat-square\u0026logo=laravel)](https://laravel.com/docs/12.x)\n\n\n🚀 Laravel Module Create is a complete module create for Laravel.\n-----\n\n## [Read Details](DETAILS.md)\n\nTo create the suggested structures, the execution options are shown below. To create a \"Project\", it will be created within the default \"app\" directory with the name of your project where all the modules will be located.\n\nTo create the modules or the complete skeleton of the module, you must also inform your project, as shown in each command.\n\nAfter executing the skeleton creation, the Providers for registration will be displayed.\n\nRemember that Laravel 10 and 11 have different places for declaring Providers.\n\n## This library create structure below\n\n```text\n└── MyProject \n    ├── Commons\n        └── Traits\n            ├── RouteServiceProviderTrait.php\n            └── SoftDeletes.php\n    └── MyModules\n        ├── Controllers\n            └── Api\n                └── MyModuleController.php\n        ├── Models\n            ├── MyModule.php\n            └── Repositories\n                ├── MyModuleRepositoryInterface.php\n                └── MyModuleRepository.php\n        ├── Providers\n            ├── AppServiceProvider.php\n            └── RouteServiceProvider.php\n        ├── Requests\n            └── MyModuleRequest.php\n        ├── Resources\n            ├── MyModuleCollection.php\n            └── MyModuleResource.php\n        ├── Routes\n            ├── api.php\n            └── web.php\n        └── Services\n            └── MyModuleService.php\n```\n\n-----\n\n## � Installation\n\nInstall the package via Composer:\n\n```bash\ncomposer require --dev wr2net/lm-create\n```\n\n## 📚 Commands\n\n### To create a project:\n```bash\nphp artisan lm-create:project MyProject\n```\n\n### To create a module:\n```bash\nphp artisan lm-create:module MyProject MyModule\n```\n\n### To create a scaffold:\n```bash\nphp artisan lm-create:skeleton MyProject MyModule\n```\n\n### To create a basic scaffold:\n```bash\nphp artisan lm-create:basic MyProject MyModule\n```\n\n#### This command creates the basic structure below\n```text\n└── MyProject \n    ├── Commons\n        └── Traits\n            └── SoftDeletes.php\n    └── MyModules\n        ├── Models\n            ├── MyModule.php\n            └── Repositories\n                ├── MyModuleRepositoryInterface.php\n                └── MyModuleRepository.php\n        ├── Providers\n            └── AppServiceProvider.php\n        └── Services\n            └── MyModuleService.php\n```\n\n---\n\n### If you need compound names, use quotes\nThis is valid for Projects, Modules and Skeleton\n\nEg. Project:\n```bash\nphp artisan lm-create:project 'My Project'\n```\nEg. Module or Skeleton:\n```bash\nphp artisan lm-create:module 'My Project' 'My Module'\nphp artisan lm-create:skeleton 'My Project' 'My Module'\n```\n\n## 📄 License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n\n## 📝 TO DO List\n\n| Resource                       | Description                                                                                    | Category |\n|--------------------------------|------------------------------------------------------------------------------------------------|----------|\n| [v] Run in production          | Not is running by artisan                                                                      | FEAT     |\n| [v] Basic Skeleton             | Create basic skeleton to usage model                                                           | FEAT     |\n| [v] Generate Unit Tests        | Generate a basic structure for unit testing the module.                                                           | FEAT     |\n| [v] Generate Integration Tests | Generate a basic structure for integration testing the module.                                                           | FEAT     |\n\n\n### FIX BUGS\n\n| Resource              | Description                                                                                    | Category |\n|-----------------------|------------------------------------------------------------------------------------------------|----------|\n| [v] No replace        | If module was created but, not is complete, in new generate cannot replace if exists resources | BUG      |\n| [v] Namespace         | Modules with compound names are not generating namespaces correctly                            | BUG      |\n\n\n## 🔧 For Developers\n\n```shell\ncomposer install\n```\n\n### Commands:\n```shell\nphp src/Config/lm-create-dev.php -f project:MyProject\n```\n```shell\nphp src/Config/lm-create-dev.php -f module:MyProject:MyModule\n```\n```shell\nphp src/Config/lm-create-dev.php -f skeleton:MyProject:MyModule\n```\n```shell\nphp src/Config/lm-create-dev.php -f basic:MyProject:MyModule\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwr2net%2Flaravel-module-create","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwr2net%2Flaravel-module-create","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwr2net%2Flaravel-module-create/lists"}