wr2net / lm-create
To 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.To create the modules or the complete skeleton of the module, you must also info
Requires
- php: ^8.0
- illuminate/support: ^11.34
- symfony/console: ^7.2
Requires (Dev)
- spatie/laravel-package-tools: ^1.16
- dev-master
- 1.1.15
- 1.1.14
- 1.1.13
- 1.1.11
- 1.1.10
- 1.1.08
- 1.1.07
- v1.1.06
- v1.1.05
- v1.1.04
- v1.1.03
- v1.1.02
- v1.1.01
- v1.1.0
- v1.0.11
- v1.0.10
- v1.0.9
- v1.0.8
- v1.0.7
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-hotfix/commands
- dev-fix/VarType
- dev-hotfix/Version
- dev-feature/UpdateVersion
- dev-feat/WR2-0012
- dev-feat/WR2-0011
- dev-feat/WR2-0010
- dev-feat/WR2-0009
- dev-feat/WR2-0008
- dev-feat/WR2-0007
- dev-feat/WR2-0006
- dev-feat/WR2-0003
- dev-feat/WR2-0005
- dev-feat/WR2-0004
- dev-feature/WR2-0003
- dev-feat/WR2-0002
- dev-feat/WR2-0001
This package is auto-updated.
Last update: 2025-08-27 14:29:50 UTC
README
Laravel Module Create
Laravel Module Create is a complete module create for Laravel.
To 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.
To create the modules or the complete skeleton of the module, you must also inform your project, as shown in each command.
After executing the skeleton creation, the Providers for registration will be displayed.
Remember that Laravel 10 and 11 have different places for declaring Providers.
This library create structure below
└── MyProject
├── Common
└── Traits
├── RouteServiceProviderTrait.php
└── SoftDeletes.php
└── MyModules
├── Controllers
└── Api
└── MyModuleController.php
├── Models
├── MyModule.php
└── Repositories
├── MyModuleRepositoryInterface.php
└── MyModuleRepository.php
├── Providers
├── AppServiceProvider.php
└── RouteServiceProvider.php
├── Requests
└── MyModuleRequest.php
├── Resources
├── MyModuleCollection.php
└── MyModuleResource.php
├── Routes
├── api.php
└── web.php
└── Services
└── MyModuleService.php
Commands
To create a project:
php artisan lm-create:project MyProject
To create a module:
php artisan lm-create:module MyProject MyModule
To create a scaffold:
php artisan lm-create:skeleton MyProject MyModule
If you need compound names, use quotes
This is valid for Projects, Modules and Skeleton
Eg. Project:
php artisan lm-create:project 'My Project'
Eg. Module or Skeleton:
php artisan lm-create:module 'My Project' 'My Module' php artisan lm-create:skeleton 'My Project' 'My Module'
TO DO List
Resource | Description | Category |
---|---|---|
No replace | If module was created but, not is complete, in new generate cannot replace if exists resources | BUG |
Run in production | Not is running by artisan | FEAT |
Basic Skeleton | Create basic skeleton to usage model | FEAT |