rikukimuratf / make-eloquent-model
make eloquent model from table
v0.0.1
2024-09-12 07:56 UTC
Requires
- php: ^8.1
- illuminate/console: *
- illuminate/contracts: *
- illuminate/filesystem: *
- illuminate/support: *
Requires (Dev)
- phpunit/phpunit: ^10.2@dev
This package is auto-updated.
Last update: 2025-08-12 09:59:12 UTC
README
composer require --dev RikuKimuraTF/make-eloquent-model
*Since this will not be used in a production environment, be sure to add the dev option.
Usage
After creating the tables, you can automatically generate a Domain model, Eloquent model, Domain repository, Eloquent repository, Factory, and Seeder.
If a php file with the same name already exists, it will not be generated.
php artisan make:eloquent {table_name}