PHPackages                             hydrax-skarrag/mwbs-exporter-symfony-bundle - 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. [Database &amp; ORM](/categories/database)
4. /
5. hydrax-skarrag/mwbs-exporter-symfony-bundle

AbandonedArchivedCli[Database &amp; ORM](/categories/database)

hydrax-skarrag/mwbs-exporter-symfony-bundle
===========================================

Symfony2 Bundle for the "MySQL Workbench Schema Exporter for Doctrine2 Annotations"

273PHP

Since Jan 18Pushed 12y ago2 watchersCompare

[ Source](https://github.com/HydraxSkarrag/mwbs-exporter-symfony-bundle)[ Packagist](https://packagist.org/packages/hydrax-skarrag/mwbs-exporter-symfony-bundle)[ RSS](/packages/hydrax-skarrag-mwbs-exporter-symfony-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

README
======

[](#readme)

Symfony2 Bundle for the "MySQL Workbench Schema Exporter for Doctrine2 Annotations"

Setup
-----

[](#setup)

Workbench files are saved in the Resources/workbench/\*.mwb directory inside your bundle.

Configuration
=============

[](#configuration)

Single schema
-------------

[](#single-schema)

`schema_name` here refers to name of the Workbench file

```
mwbs_exporter:
    schema:
        schema_name:
            bundle: YourBundle

```

Multiple schemas
----------------

[](#multiple-schemas)

`schema_name` here refers to name of the Workbench file

```
mysql_workbench_schema_exporter:
    schema:
        schema1_name:
            bundle: YourBundle
        schema2_name:
            bundle: YourBundle
        schema3_name:
            bundle: YourBundle
            params:
                bundleNamespace: "YourBundle"
                repositoryNamespace: "YourBundle\\Entity"
                entityNamespace: ""
                useAnnotationPrefix: "ORM\\"
                generateBaseClasses: true
                useAutomaticRepository: true
                skipPluralNameChecking: false
                enhanceManyToManyDetection: true
                filename: "%%entity%%.%%extension%%"
                backupExistingFile: false
                indentation: 4
                quoteIdentifier: false

```

Execution
=========

[](#execution)

To process the files execute the command in the terminal:

```
app/console mwbs:export-entities

```

Exporter Options
----------------

[](#exporter-options)

### Exporter options

[](#exporter-options-1)

- `bundleNamespace`

    Name of your Bundlenamespace
- `repositoryNamespace`

    Name of your repositoryNamespace
- `entityNamespace`

    Name of your entityNamespace
- `useAnnotationPrefix`

    Doctrine annotation prefix. Default is `ORM\`.
- `generateBaseClasses`

    Generate Entity Base Classes
- `useAutomaticRepository`

    See above.
- `skipPluralNameChecking`

    Skip checking the plural name of model and leave as is, useful for non English table names. Default is `false`.
- `enhanceManyToManyDetection`

    If enabled, many to many relations between tables will be added to generated code. Default is `true`.
- `filename`

    The output filename format, use the following tag `%schema%`, `%table%`, `%entity%`, and `%extension%` to allow the filename to be replaced with contextual data. Default is `%entity%.%extension%`.
- `backupExistingFile`

    If target already exists create a backup before replacing the content. Default is `true`.
- `indentation`

    The indentation size for generated code.
- `quoteIdentifier`

    If this option is enabled, all table names and column names will be quoted using backtick (```). Usefull when the table name or column name contains reserved word. Default is `false`.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5442838?v=4)[Daniel Kubitza](/maintainers/HydraxSkarrag)[@HydraxSkarrag](https://github.com/HydraxSkarrag)

---

Top Contributors

[![HydraxSkarrag](https://avatars.githubusercontent.com/u/5442838?v=4)](https://github.com/HydraxSkarrag "HydraxSkarrag (13 commits)")

### Embed Badge

![Health badge](/badges/hydrax-skarrag-mwbs-exporter-symfony-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/hydrax-skarrag-mwbs-exporter-symfony-bundle/health.svg)](https://phpackages.com/packages/hydrax-skarrag-mwbs-exporter-symfony-bundle)
```

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M114](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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