sheidin/fillable

Generate fillable attribute for eloquent models

Installs: 3 572

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/sheidin/fillable

1.0.1 2022-08-30 18:09 UTC

This package is auto-updated.

Last update: 2025-12-29 03:27:18 UTC


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.