govindtomar / crudgenerator
Laravel crud generator
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-29 02:11:57 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