Package Data | |
---|---|
Maintainer Username: | ernestova |
Maintainer Contact: | ernestova@gmail.com (Ernesto Vargas) |
Package Create Date: | 2015-10-15 |
Package Last Update: | 2015-11-24 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-22 03:16:55 |
Package Statistics | |
---|---|
Total Downloads: | 53 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 5 |
Total Watchers: | 2 |
Total Forks: | 0 |
Total Open Issues: | 1 |
[] (https://travis-ci.org/ernestova/laranerators.svg)
Laravel 5 model generator for an existing MySql schema.
It reads your existing database schema and generates model class files based on the existing tables.
Add "ernestovargas/laranerators": "dev-master"
to your require-dev section on your composer.json file.
Because the generators are only useful for development, add the provider in app/Providers/AppServiceProvider.php, like:
public function register()
{
if ($this->app->environment() == 'local') {
$this->app->register('ErnestoVargas\Generators\GeneratorsProvider');
}
}
php artisan help make:models
Options: