awkwardideas / modelmaker
MySQL to Laravel Generations
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/awkwardideas/modelmaker
Requires
- php: >=5.6.4
- awkwardideas/mypdo: @dev
This package is auto-updated.
Last update: 2025-09-29 02:05:59 UTC
README
Install Via Composer
composer require awkwardideas/modelmaker
Add to Laravel App Config
/*
* Package Service Providers...
*/
AwkwardIdeas\ModelMaker\ModelMakerServiceProvider::class,
//
Commands via Artisan
Command line actions are done via artisan. The host, username, password from the .env file are used for making the connection.
php artisan modelmaker:clean
Removes all model maker files from the app/models folder
Options:
--force Bypass confirmations
php artisan modelmaker:generate
Create migration files using the database information in .env
Options:
--from= Database to migrate from --namespace= Defaults to App, but if provided will output with provided namespace --connection= If provided, adds connection reference to model. Use for multi database situations.