PHPackages                             bonusone/doctrine-reverse-engineering - 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. bonusone/doctrine-reverse-engineering

ActiveSymfony-bundle[Database &amp; ORM](/categories/database)

bonusone/doctrine-reverse-engineering
=====================================

Doctrine entity and repository generator that reverse engineers an existing database for Symfony 6/7 projects.

v1.0.2(7mo ago)2412[1 issues](https://github.com/BonusOne/doctrine-reverse-engineering/issues)MITPHPPHP ^8.2CI passing

Since Nov 1Pushed 7mo ago1 watchersCompare

[ Source](https://github.com/BonusOne/doctrine-reverse-engineering)[ Packagist](https://packagist.org/packages/bonusone/doctrine-reverse-engineering)[ Docs](https://liwocha.pl)[ RSS](/packages/bonusone-doctrine-reverse-engineering/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (12)Versions (4)Used By (0)

Doctrine Reverse Engineering
============================

[](#doctrine-reverse-engineering)

Doctrine entity and repository generator that reverse engineers an existing database for Symfony 6/7 projects.

Requirements
------------

[](#requirements)

- PHP 8.2 or newer
- Symfony FrameworkBundle 6.4/7.x
- Doctrine DBAL 3.8+
- A valid `DATABASE_URL` connection string

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

[](#installation)

```
composer require bonusone/doctrine-reverse-engineering
```

The bundle registers itself automatically thanks to the `symfony.bundle` section in `composer.json`.

Optional Configuration
----------------------

[](#optional-configuration)

Override default paths or behaviour by adding `config/packages/doctrine_reverse_engineering.yaml` in your application:

```
doctrine_reverse_engineering:
    entity_path: '%kernel.project_dir%/src/Entity'
    entity_namespace: 'App\Entity'
    repository_path: '%kernel.project_dir%/src/Repository'
    repository_namespace: 'App\Repository'
    generate_repositories: true
    overwrite_existing: false
```

Usage
-----

[](#usage)

Generate all tables without overwriting existing files:

```
php bin/console doctrine:reverse-engineering:generate
```

Available options:

OptionDescription`--connection`Doctrine connection name (defaults to `default`)`--entity-path` / `--entity-namespace`Target path and base namespace for entities`--repository-path` / `--repository-namespace`Target path and base namespace for repositories`--repositories=auto/yes/no`Force repository generation on/off or reuse configuration`--overwrite` / `--no-overwrite`Control whether existing files are replaced`--table=foo --table=bar`Limit generation to selected tables`--dry-run`Preview the output without writing filesShortcut wrapper available via `vendor/bin`:

```
vendor/bin/doctrine-reverse-engineering --table=users --overwrite
```

License
-------

[](#license)

Released under the MIT License (see `LICENSE`).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance62

Regular maintenance activity

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~3 days

Total

3

Last Release

232d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d50f653e3433802d56b47601c8be7a94ef83ca2a9170614aa714305153e2e97?d=identicon)[BonusOne](/maintainers/BonusOne)

---

Top Contributors

[![PawelLiwochaSarigato](https://avatars.githubusercontent.com/u/66067172?v=4)](https://github.com/PawelLiwochaSarigato "PawelLiwochaSarigato (6 commits)")[![BonusOne](https://avatars.githubusercontent.com/u/38378894?v=4)](https://github.com/BonusOne "BonusOne (1 commits)")

---

Tags

symfonydoctrineentity-generatorreverse-engineering

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/bonusone-doctrine-reverse-engineering/health.svg)

```
[![Health](https://phpackages.com/badges/bonusone-doctrine-reverse-engineering/health.svg)](https://phpackages.com/packages/bonusone-doctrine-reverse-engineering)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M376](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M196](/packages/sulu-sulu)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)

PHPackages © 2026

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