vitalibr / laravel5-exporter

MySQL Workbench Exporter for Laravel 5.0
MIT License
16 stars 4 forks source link

Laravel 5.0 Exporter

Latest Stable Version Total Downloads Latest Unstable Version License

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

Prerequisites

Installation

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

This will install the exporter and also require mysql-workbench-schema-exporter.

You then can invoke the CLI script using vendor/bin/mysql-workbench-schema-export.

Formatter Setup Options

Additionally to the common options of mysql-workbench-schema-exporter these options are supported:

Laravel Model

Setup Options

Laravel Migration

Setup Options

Command Line Interface (CLI)

See documentation for mysql-workbench-schema-exporter

Examples (v3.0.3)

Workbench Schema

alt tag

Model

alt tag

Migration

alt tag

Links