todreacher / generator
Advanced Laravel generators
dev-master
2020-06-14 04:16 UTC
Requires
- php: >=7.0
- illuminate/support: ^5.8|~6.0|~7.0
Requires (Dev)
- phpspec/phpspec: ~2.1
This package is not auto-updated.
Last update: 2024-09-16 23:18:47 UTC
README
Создать все трейты
php artisan make:model:trait App/Models/Example/ExampleLimit/ExampleLimit --all
Создать сервис
php artisan make:model:service App/Models/Example/ExampleLimit/ExampleLimit --service-path=Example/ExampleLimit
Создать reponse resources
php artisan make:model:resource App/Models/Example/ExampleLimit/ExampleLimit --service-path=Example/ExampleLimit
Создать валидаторы форм
php artisan make:model:request App/Models/Example/ExampleLimit/ExampleLimit --service-path=Example/ExampleLimit
Создать контроллер
php artisan make:model:controller App/Models/Example/ExampleLimit/ExampleLimit --service-path=Example/ExampleLimit