adetxt/laravel-fillable-generator

Generate model fillable automaticly

1.2.1 2023-03-24 15:39 UTC

This package is auto-updated.

Last update: 2024-04-24 18:12:58 UTC


README

Total Downloads

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"]