ocraton / fillthem
One command for create model, migration and seeder with fillable
Installs: 20
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ocraton/fillthem
Requires (Dev)
- illuminate/support: ^10.16
README
ocraton/fillthem is a Laravel package that provide an artisan command to define a model name with fillable fields. Based on that model name, it will create a migration and seeder with those fields.
Installation
Run the following command to install the latest applicable version of the package:
composer require --dev ocraton/fillthem
Laravel
In your app config, add the Service Provider to the $providers
:
'providers' => [ ... Ocraton\Fillthem\Providers\FillthemServiceProvider::class, ],
Usage
Run the following command to create a Car model, migration and seeder with Laravel migration types column:
php artisan make:fillthem Car --fillable=integer:n_wheels,string:model
That's it!