sheidin / fillable
Generate fillable attribute for eloquent models
Installs: 3 571
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^8.0
- illuminate/contracts: ^9.0
Requires (Dev)
- laravel/pint: ^1.0
README
This package will help you to fill the fillabel attribute within the Laravel eloquent model
Installation
You can install the package via composer:
composer require sheidin/fillable
You can publish the config file with:
php artisan vendor:publish --tag="fillable"
This is the contents of the published config file:
return [ 'models_directory' => env('MODELS_DIR', app_path('Models')), 'ignore_columns' => ['id'], ];
Usage
php artisan model:fillable #additional options: model:fillable {model?* : The name of the model} {--no-override : Whether the fillable attribute should not be override}
Changelog
Please see CHANGELOG for more information on what has changed recently.
License
The MIT License (MIT). Please see License File for more information.