mungell/mysql-workbench-schema-exporter — explained in plain English
Analysis updated 2026-07-21 · repo last pushed 2012-01-12
Generate Doctrine entity classes from a visual database diagram in MySQL Workbench.
Scaffold Propel model files for a new PHP project using your existing .mwb design.
Export CakePHP or Zend framework code from a database model without manually writing repetitive boilerplate.
Fine-tune generated code output using custom options and special formatting hints embedded in diagram comments.
| mungell/mysql-workbench-schema-exporter | agentpietrucha/ks_affiliation | akarshsatija/php-whois | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | PHP | PHP | PHP |
| Last pushed | 2012-01-12 | — | 2014-02-06 |
| Maintenance | Dormant | — | Dormant |
| Setup difficulty | moderate | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | pm founder |
Figures from each repo's GitHub metadata at analysis time.
Requires PHP 5.3, an older version of the language that may need a legacy environment or container to run.
mysql-workbench-schema-exporter is a tool that takes a database model you've designed visually in MySQL Workbench and automatically generates the code files your application needs to work with that database. Instead of manually writing repetitive code to define your database tables and relationships in your project, this reads your visual model and writes that scaffolding for you. MySQL Workbench is a popular visual tool for designing database structures, saving those designs as .mwb files. This project reads those files and translates the visual diagram into text-based code files for several PHP frameworks, including Doctrine, Propel, CakePHP, and Zend. At a high level, you point a short script at your model file, choose which framework format you need, and it outputs the corresponding code. You can also fine-tune the results using specific options, like adjusting how code is indented or setting custom names for different parts of your application. The primary audience is a developer or team building a PHP application who already uses MySQL Workbench to plan their database. For example, if you are starting a new project and have drawn out your tables for users, orders, and products, you could use this to instantly generate the matching Doctrine entity classes. You can even embed special formatting hints directly into the comments of your visual diagram to trigger advanced framework features, saving you from writing that configuration by hand later. The project itself notes that it is experimental and only a proof of concept, meaning it is not intended for critical, live production environments. It was built with PHP and requires a relatively older version of the language (PHP 5.3) to run. While it offers handy features like exporting the generated files directly into a zip archive, its proof-of-concept status suggests it may lack the polish or robustness of a fully supported application.
Reads visual database models from MySQL Workbench and automatically generates PHP framework code files like Doctrine, Propel, CakePHP, and Zend entities from them.
Mainly PHP. The stack also includes PHP, Doctrine, Propel.
Dormant — no commits in 2+ years (last push 2012-01-12).
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.