2017 © Pedro Peláez
 

library modelmaker

MySQL to Laravel Generations

image

awkwardideas/modelmaker

MySQL to Laravel Generations

  • Tuesday, November 1, 2016
  • by awkwardideas
  • Repository
  • 1 Watchers
  • 2 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ModelMaker: MySQL to Laravel Model Generatoror

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Install Via Composer

composer require awkwardideas/modelmaker, (*2)

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., (*3)

php artisan modelmaker:clean

Removes all model maker files from the app/models folder, (*4)

Options:, (*5)

--force Bypass confirmations, (*6)

php artisan modelmaker:generate

Create migration files using the database information in .env, (*7)

Options:, (*8)

--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., (*9)

The Versions

01/11 2016

1.0.x-dev

1.0.9999999.9999999-dev

MySQL to Laravel Generations

  Sources   Download

MIT

The Requires

 

by Chad Haney
by Awkward Ideas

01/11 2016

dev-master

9999999-dev

MySQL to Laravel Generations

  Sources   Download

MIT

The Requires

 

by Chad Haney
by Awkward Ideas