eloquent - Create Models from database in Laravel 5 -
is there way generate models database in laravel 5?
the generators package create empty model.
i little bit late answer, whatever:
there library eloquent model generator aim creating eloquent models classes using database tables source. generates not class stub, relation methods, docblocks magic fields, additional properties etc.
it provides console command php artisan krlove:generate:model classname
generating 1 class per 1 call, can create own command call command each table database.
Comments
Post a Comment