amgrade/laravel-scaffolding

1.0.0 2023-12-27 12:42 UTC

This package is auto-updated.

Last update: 2024-10-27 14:54:45 UTC


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.php
  • php artisan make:console — adds suffix "Command" and autoregister console command class in Kernel.php
  • php artisan make:repository — adds an ability to scaffold whole structure for repository pattern and creates given repository class