govindtomar / crudgenerator
Laravel crud generator
Installs: 79
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/govindtomar/crudgenerator
This package is auto-updated.
Last update: 2025-09-29 02:42:52 UTC
README
Installation
composer require govindtomar/crudgenerator
php artisan vendor:publish --provider="GovindTomar\CrudGenerator\CrudGeneratorServiceProvider"
Configuration
You will find a configuration file located at config/crud.php
'code_type' => 'API',
Examples
CRUD Create
php artisan make:crud ContactMe --fields=text*name,email*email,text*subject,textarea*message
CRUD with Relationship
php artisan make:crud ContactMe --fields=text*name,email*email,text*subject,textarea*message --model=User
CRUD with migration
php artisan make:crud ContactMe --fields=text*name,email*email,text*subject,textarea*message --migration=yes
CRUD with Relationship & Migration
php artisan make:crud Post --fields="text*name,image*profile,image*cover,select*user",toggle*status,toggle*publish --model=User --migration=yes
Available fields
text | email | file | hidden | image | number | password | date | radio | select | textarea | toggle