PHPackages                             vitalibr/laravel5-exporter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. vitalibr/laravel5-exporter

ActiveLibrary

vitalibr/laravel5-exporter
==========================

MySQL Workbench Schema Exporter for Laravel 5.0

3.0.3(9y ago)161.0k4[1 issues](https://github.com/vitalibr/laravel5-exporter/issues)[1 PRs](https://github.com/vitalibr/laravel5-exporter/pulls)MITPHPPHP &gt;=5.4.0

Since May 25Pushed 5y ago2 watchersCompare

[ Source](https://github.com/vitalibr/laravel5-exporter)[ Packagist](https://packagist.org/packages/vitalibr/laravel5-exporter)[ Docs](https://github.com/vitalibr/laravel5-exporter)[ RSS](/packages/vitalibr-laravel5-exporter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)DependenciesVersions (6)Used By (0)

Laravel 5.0 Exporter
====================

[](#laravel-50-exporter)

[![Latest Stable Version](https://camo.githubusercontent.com/14643fa9aa1b5f5004fe37eb3855c4e4015b727685e98452ae5753ccd359e313/68747470733a2f2f706f7365722e707567782e6f72672f766974616c6962722f6c61726176656c352d6578706f727465722f762f737461626c65)](https://packagist.org/packages/vitalibr/laravel5-exporter) [![Total Downloads](https://camo.githubusercontent.com/5692da77daeaaf22e6bb2910f1a79716dff9aaed96b3ec012a8ae1355ad84f08/68747470733a2f2f706f7365722e707567782e6f72672f766974616c6962722f6c61726176656c352d6578706f727465722f646f776e6c6f616473)](https://packagist.org/packages/vitalibr/laravel5-exporter) [![Latest Unstable Version](https://camo.githubusercontent.com/1083f08e4d0a0dd28be73cdefafddbff77b7ef5774021d640324252aebbb5d0b/68747470733a2f2f706f7365722e707567782e6f72672f766974616c6962722f6c61726176656c352d6578706f727465722f762f756e737461626c65)](https://packagist.org/packages/vitalibr/laravel5-exporter) [![License](https://camo.githubusercontent.com/166e57450ff422c783f422a3d856d9eac6fcb1651edb3e8b1c9b0f0a9b696f81/68747470733a2f2f706f7365722e707567782e6f72672f766974616c6962722f6c61726176656c352d6578706f727465722f6c6963656e7365)](https://packagist.org/packages/vitalibr/laravel5-exporter)

This is an exporter to convert [MySQL Workbench](http://www.mysql.com/products/workbench/) Models (\*.mwb) to Laravel Framework 5 Model and Migration Schema.

Prerequisites
-------------

[](#prerequisites)

- PHP 5.4+
- Composer to install the dependencies

Installation
------------

[](#installation)

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

```

This will install the exporter and also require [mysql-workbench-schema-exporter](https://github.com/mysql-workbench-schema-exporter/mysql-workbench-schema-exporter).

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

Formatter Setup Options
-----------------------

[](#formatter-setup-options)

Additionally to the [common options](https://github.com/mysql-workbench-schema-exporter/mysql-workbench-schema-exporter#configuring-mysql-workbench-schema-exporter) of mysql-workbench-schema-exporter these options are supported:

### Laravel Model

[](#laravel-model)

#### Setup Options

[](#setup-options)

- `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`.

### Laravel Migration

[](#laravel-migration)

#### Setup Options

[](#setup-options-1)

- `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`.

Command Line Interface (CLI)
----------------------------

[](#command-line-interface-cli)

See documentation for [mysql-workbench-schema-exporter](https://github.com/mysql-workbench-schema-exporter/mysql-workbench-schema-exporter#command-line-interface-cli)

Examples (v3.0.3)
-----------------

[](#examples-v303)

#### Workbench Schema

[](#workbench-schema)

[![alt tag](https://camo.githubusercontent.com/f15e6d77e6f64606aa3da96ed5074de45f424db1035d480eff3f0ed976df76ca/687474703a2f2f7333332e706f7374696d672e6f72672f786468646e6637716e2f6d6f64656c2e706e67)](https://camo.githubusercontent.com/f15e6d77e6f64606aa3da96ed5074de45f424db1035d480eff3f0ed976df76ca/687474703a2f2f7333332e706f7374696d672e6f72672f786468646e6637716e2f6d6f64656c2e706e67)

#### Model

[](#model)

[![alt tag](https://camo.githubusercontent.com/025095d8906cbb5383cf6eea39cbecc575cb7e68242dad88e5a647e7ee98f013/687474703a2f2f7333332e706f7374696d672e6f72672f6a32617a75693232372f6d6967726174696f6e732e706e67)](https://camo.githubusercontent.com/025095d8906cbb5383cf6eea39cbecc575cb7e68242dad88e5a647e7ee98f013/687474703a2f2f7333332e706f7374696d672e6f72672f6a32617a75693232372f6d6967726174696f6e732e706e67)

#### Migration

[](#migration)

[![alt tag](https://camo.githubusercontent.com/e908b623208b349073edc79f96d62b27e2fe9259626f9ed8926bdcd7459f4a89/687474703a2f2f7333332e706f7374696d672e6f72672f6d756864793935326e2f6d6967726174696f6e732e706e67)](https://camo.githubusercontent.com/e908b623208b349073edc79f96d62b27e2fe9259626f9ed8926bdcd7459f4a89/687474703a2f2f7333332e706f7374696d672e6f72672f6d756864793935326e2f6d6967726174696f6e732e706e67)

Links
-----

[](#links)

- [MySQL Workbench](http://wb.mysql.com/)
- [Laravel Project](https://laravel.com/)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

4

Last Release

3632d ago

### Community

---

Top Contributors

[![vitalibr](https://avatars.githubusercontent.com/u/6042958?v=4)](https://github.com/vitalibr "vitalibr (17 commits)")

### Embed Badge

![Health badge](/badges/vitalibr-laravel5-exporter/health.svg)

```
[![Health](https://phpackages.com/badges/vitalibr-laravel5-exporter/health.svg)](https://phpackages.com/packages/vitalibr-laravel5-exporter)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
