kitloong / laravel-migrations-generator

Laravel Migrations Generator: Automatically generate your migrations from an existing database schema.
MIT License
2.5k stars 276 forks source link

Create models from the name of the tables #120

Closed Davidiasdesousa closed 2 years ago

Davidiasdesousa commented 2 years ago

How it works

After user runs php artisan migrate:generate

asks the user if he would like to create models from the table names. If true, a model file is generated in the app/Models folder.

kitloong commented 2 years ago

Hello @Davidiasdesousa

Thank you for the pull request. Some existing packages are already doing a great job creating reverse models from the database. For now, I have no intention of including this feature in the generator.