amgrade / laravel-scaffolding
1.0.0
2023-12-27 12:42 UTC
Requires
- php: >=8.1
- laravel/framework: ^10.0
- nikic/php-parser: ^4.17
README
Package with some console commands for code generation.
Installation
composer require amgrade/laravel-scaffolding
If you prefer manual installation, then add to config/app.php
into providers
section next line:
'providers' => [ AMgrade\Scaffolding\ScaffoldingServiceProvider::class, ],
Otherwise, it will be autodiscovered.
List of commands
php artisan make:observer
— adds suffix "Observer" and autoregister observer class in EventsServiceProvider.phpphp artisan make:console
— adds suffix "Command" and autoregister console command class in Kernel.phpphp artisan make:repository
— adds an ability to scaffold whole structure for repository pattern and creates given repository class