feliseed / laravel-crud-generator
CRUD generator for Laravel
Package info
github.com/feliseed/laravel-crud-generator
pkg:composer/feliseed/laravel-crud-generator
0.0.2
2024-04-13 17:30 UTC
This package is not auto-updated.
Last update: 2026-03-24 02:01:55 UTC
README
You can automatically generate CRUD functionality using the command below. Everything necessary, including the controller, view, model, request, routing, test, factory, seeder, and migration, will be generated.
# Usage example 1: Generate CRUD by specifying the model name php artisan make:crud MasterProduct # Usage example 2: Generate CRUD from a JSON file defining the table structure php artisan make:crud MasterProduct --schema="./master_products.json" # Usage example 3: Generate CRUD from an existing table (please set the database connection information appropriately in .env, etc.) php artisan make:crud MasterProduct --table=master_products # Reflect in the DB php artisan migrate:refresh --seed