2017 © Pedro Peláez
 

library mysqltomodel

Create easy model from MySQL Databases

image

shadowbane/mysqltomodel

Create easy model from MySQL Databases

  • Wednesday, October 12, 2016
  • by shadowbane
  • Repository
  • 1 Watchers
  • 1 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Build Status Total Downloads Built For Laravel Latest Stable Version Latest Unstable Version, (*1)

MySQL To Model

Create easy model from MySQL / MariaDB Databases. This packages helps you create models from existing database tables & columns, (*2)

Features

  • Specify which connection & database to use
  • Set namespace for generated models
  • Specify if there's timestamp in tables when migrating

Installing

composer require --dev shadowbane/mysqltomodel

Then, add line below to config/app.php:, (*3)

Shadowbane\MySQLModel\MySQLModelServiceProvider::class,

Running

php artisan mysqltomodel:make --help
Usage:
  mysqltomodel:make [options] [--] <connection> <database>

Arguments:
  connection                   The Connection defined in config/database.php
  database                     Database Name

Options:
      --namespace[=NAMESPACE]  Namespace to use. Defaulted using Connection Name
  -T, --timestamps             Whether the generated model should use timestamp
  -h, --help                   Display this help message
  -q, --quiet                  Do not output any message
  -V, --version                Display this application version
      --ansi                   Force ANSI output
      --no-ansi                Disable ANSI output
  -n, --no-interaction         Do not ask any interactive question
      --env[=ENV]              The environment the command should run under.
  -v|vv|vvv, --verbose         Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

Help:
  Generate Models from existing databases

Authors

Adly Shadowbane, (*4)

License

This project is licensed under the GNU General Public License v3.0, (*5)

The Versions

12/10 2016

dev-master

9999999-dev

Create easy model from MySQL Databases

  Sources   Download

GNU GPLv3

The Requires

  • php >=5.6

 

by Adly Shadowbane

laravel model models mysql mariadb smart generator laravel 5.3 model generator model generators adly shadowbane shadowbane

11/10 2016

0.1.0

0.1.0.0

Create easy model from MySQL Databases

  Sources   Download

GNU GPLv3

The Requires

  • php >=5.6

 

by Adly Shadowbane

laravel model models mysql mariadb smart generator laravel 5.3 model generator model generators adly shadowbane shadowbane