Package Data | |
---|---|
Maintainer Username: | Jimbolino |
Package Create Date: | 2015-04-11 |
Package Last Update: | 2021-02-10 |
Language: | PHP |
License: | GPL-3.0+ |
Last Refreshed: | 2024-12-02 03:05:48 |
Package Statistics | |
---|---|
Total Downloads: | 10,554 |
Monthly Downloads: | 21 |
Daily Downloads: | 2 |
Total Stars: | 30 |
Total Watchers: | 8 |
Total Forks: | 19 |
Total Open Issues: | 1 |
Laravel Model Builder, a poor attempt to reverse engineer a MySQL database to Laravel models.
Add the following to your composer.json:
"require": {
"jimbolino/laravel-model-builder" : "dev-master"
},
Add to your routes.php:
Route::get('/generate/models', '\\Jimbolino\\Laravel\\ModelBuilder\\ModelGenerator5@start');
Run the url, and your models will be created in the storage\models folder so you have to manually copy them to your real models folder. Or better, use a tool like beyond compare to update your current models.