This package provides a laravel artisan command to generate model fillable automaticly. Only MySQL database is supported for now.
This package can be installed through Composer.
composer require adetxt/laravel-fillable-generator --dev
You can start generate your model fillable by this artisan command:
php artisan generate-model-fillable
php artisan generate-model-fillable User Post Category
-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"]