2017 © Pedro Peláez
 

library laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

image

vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  • Wednesday, June 1, 2016
  • by vitalibr
  • Repository
  • 2 Watchers
  • 15 Stars
  • 377 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 2 Open issues
  • 6 Versions
  • 12 % Grown

The README.md

Laravel 5.0 Exporter

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

This is an exporter to convert MySQL Workbench Models (*.mwb) to Laravel Framework 5 Model and Migration Schema., (*2)

Prerequisites

  • PHP 5.4+
  • Composer to install the dependencies

Installation

php composer.phar require --dev vitalibr/laravel5-exporter

This will install the exporter and also require mysql-workbench-schema-exporter., (*3)

You then can invoke the CLI script using vendor/bin/mysql-workbench-schema-export., (*4)

Formatter Setup Options

Additionally to the common options of mysql-workbench-schema-exporter these options are supported:, (*5)

Laravel Model

Setup Options

  • namespace, (*6)

    Namespace for generated class., (*7)

    Default is App\Models., (*8)

  • parentTable, (*9)

    Ancestor class, the class to extend for generated class., (*10)

    Default is Model., (*11)

  • generateFillable, (*12)

    Generate variable fillable with all columns., (*13)

    Default is false., (*14)

Laravel Migration

Setup Options

  • tablePrefix, (*15)

    Table prefix for generated class., (*16)

    Default is Create., (*17)

  • tableSuffix, (*18)

    Table suffix for generated class., (*19)

    Default is Table., (*20)

  • parentTable, (*21)

    See above., (*22)

    Default is Migration., (*23)

  • generateTimestamps, (*24)

    Generate created_at and updated_at columns to all Tables., (*25)

    Default is false., (*26)

Command Line Interface (CLI)

See documentation for mysql-workbench-schema-exporter, (*27)

Examples (v3.0.3)

Workbench Schema

alt tag, (*28)

Model

alt tag, (*29)

Migration

alt tag, (*30)

The Versions

01/06 2016

dev-master

9999999-dev https://github.com/vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  Sources   Download

MIT

The Requires

 

by Mateus Vitali

database laravel cli mysql mysql workbench

01/06 2016

3.0.3

3.0.3.0 https://github.com/vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  Sources   Download

MIT

The Requires

 

by Mateus Vitali

database laravel cli mysql mysql workbench

30/05 2016

3.0.2

3.0.2.0 https://github.com/vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  Sources   Download

MIT

The Requires

 

by Mateus Vitali

database laravel cli mysql mysql workbench

30/05 2016

dev-develop

dev-develop https://github.com/vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  Sources   Download

MIT

The Requires

 

by Mateus Vitali

database laravel cli mysql mysql workbench

27/05 2016

3.0.1

3.0.1.0 https://github.com/vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  Sources   Download

MIT

The Requires

 

by Mateus Vitali

database laravel cli mysql mysql workbench

25/05 2016

3.0.0

3.0.0.0 https://github.com/vitalibr/laravel5-exporter

MySQL Workbench Schema Exporter for Laravel 5.0

  Sources   Download

MIT

The Requires

 

by Mateus Vitali

database laravel cli mysql mysql workbench