feliseed/laravel-crud-generator

CRUD generator for Laravel

Installs: 6 219

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/feliseed/laravel-crud-generator

0.0.2 2024-04-13 17:30 UTC

This package is not auto-updated.

Last update: 2025-12-30 00:41:34 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