tefoh / laravel-scaffold-command
create all necessary files for crud with one command.
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 11
Watchers: 2
Forks: 5
Open Issues: 0
pkg:composer/tefoh/laravel-scaffold-command
Requires
- php: ^8.0|^8.1
- illuminate/console: ^8.0
- illuminate/database: ^8.0
- illuminate/support: ^8.0
README
create all necessary files for crud operation with one command
- model
- resource controller, api or just regular crud controller
- migration with fields
- feature tests
- views, if crud is not api
- index
- create
- show
- edit
- resources, if crud is api
- resource class
- resource collection class
installation
composer require tefoh/laravel-scaffold-command
next
php artisan vendor:publish --tag=scaffold-stubs
usage
php artisan scaffold {your entity name}
like php artisan scaffold Category --fields=name:string,slug:string,parent_id:foreignId
enjoy :)