yish/scaffold

Super fast build CRUD resource for Laravel.

1.1.0 2020-03-05 06:34 UTC

This package is auto-updated.

Last update: 2020-03-05 06:42:45 UTC


README

68747470733a2f2f692e696d6775722e636f6d2f3054456c6a41472e706e67

Scaffold

Super fast build CRUD resource for Laravel.

Installation

$ composer require yish/scaffold

5.5 or later: Auto discovery

previous version

Yish\Scaffold\ScaffoldServiceProvider::class

Publish config (require)

$ php artisan vendor:publish

Usage

$ php artisan make:scaffold Post

It will be generating blong:

  • request
  • controller (including CRUD)
  • migration
  • model
  • factory
  • views {index, create, edit, show}
  • append Route::resource(...) to specific route file.

Option

$ php artisan make:scaffold Post --route=api