baine/laravel-auto-crud

Installs: 756

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/baine/laravel-auto-crud

dev-master 2023-08-15 18:42 UTC

This package is not auto-updated.

Last update: 2025-12-03 05:33:30 UTC


README

To install run composer require baine/laravel-auto-crud.

To generate an auto-crud controller from the console, run php artisan generate:auto-crud App\\Models\\<CrudModel>. A new Controller class will be put into the App\Http\Controllers directory.

To generate an auto-crud controller from anywhere else, you can use the following code: (new Baine\AutoCrud\Services\CreateController(App\Models\<CrudModel>::class))->execute() and the class will create a crud controller just like the command.