adetxt / laravel-fillable-generator
Generate model fillable automaticly
Installs: 1 584
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- nette/php-generator: ^4.0.6
README
This package provides a laravel artisan command to generate model fillable automaticly. Only MySQL database is supported for now.
Installation
This package can be installed through Composer.
composer require adetxt/laravel-fillable-generator --dev
Usage
You can start generate your model fillable by this artisan command:
php artisan generate-model-fillable
With Specific Model
php artisan generate-model-fillable User Post Category
Options
-P, --path Model path (default: app\Models)
--all-columns Include all columns
-E, --excludecol[=EXCLUDECOL] Exclude column [default: "id,created_at,updated_at,deleted_at"]