MySQL Workbench Schema Exporter for Laravel 5.0
vitalibr/laravel5-exporter is a Laravel package for mysql workbench schema exporter for laravel 5.0.
It currently has 16 GitHub stars and 1.046 downloads on Packagist (latest version 3.0.3).
Install it with composer require vitalibr/laravel5-exporter.
Discover more Laravel packages by vitalibr
or browse all Laravel packages to compare alternatives.
Last updated
This is an exporter to convert MySQL Workbench Models (*.mwb) to Laravel Framework 5 Model and Migration Schema.
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.
Additionally to the common options of mysql-workbench-schema-exporter these options are supported:
namespace
Namespace for generated class.
Default is App\Models.
parentTable
Ancestor class, the class to extend for generated class.
Default is Model.
generateFillable
Generate variable fillable with all columns.
Default is false.
tablePrefix
Table prefix for generated class.
Default is Create.
tableSuffix
Table suffix for generated class.
Default is Table.
parentTable
See above.
Default is Migration.
generateTimestamps
Generate created_at and updated_at columns to all Tables.
Default is false.
See documentation for mysql-workbench-schema-exporter


