trasel / laravel-structure-generator
Package to generate Services and Repositories or complete Repositories/Services/Controllers structure in Laravel
Package info
github.com/oTrasel/laravel-structure-generator
pkg:composer/trasel/laravel-structure-generator
1.0.2
2025-04-03 00:23 UTC
Requires
- php: ^8.1
- illuminate/console: ^9.0|^10.0|^11.0|^12.0
- illuminate/support: ^9.0|^10.0|^11.0|^12.0
README
Requirements
- php: ^8.1
- Laravel: ^9.0
Install
composer require trasel/laravel-structure-generator
Ways of use
| Command | Descrição |
|---|---|
php artisan make:service ServiceName |
It will generate the directory and file with the service |
php artisan make:repository RepositoryName |
It will generate the directory and file with the Repository |
php artisan make:structure StructureName |
Generate directories, files and auto imports with Controller/Service/Repository |