PHPackages                             eprofos/reverse-engineering-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. eprofos/reverse-engineering-bundle

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

eprofos/reverse-engineering-bundle
==================================

Advanced Symfony bundle for database reverse engineering - Automatically generates Doctrine entities from existing database schemas with intelligent type mapping, relationship detection, and comprehensive metadata extraction capabilities

0.1.0(11mo ago)0491[12 issues](https://github.com/eprofos/reverse-engineering-bundle/issues)MITPHPPHP &gt;=8.1

Since Jul 1Pushed 11mo agoCompare

[ Source](https://github.com/eprofos/reverse-engineering-bundle)[ Packagist](https://packagist.org/packages/eprofos/reverse-engineering-bundle)[ Docs](https://github.com/eprofos/reverse-engineering-bundle)[ GitHub Sponsors](https://github.com/sponsors/eprofos)[ RSS](/packages/eprofos-reverse-engineering-bundle/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (1)Dependencies (17)Versions (2)Used By (0)

ReverseEngineeringBundle
========================

[](#reverseengineeringbundle)

[![Latest Version](https://camo.githubusercontent.com/3fb4be5dc3c1df885e1ba26b96adcd365a07351f276a4a4370e36a07906260a1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d302e312e302d626c75652e737667)](https://github.com/eprofos/reverse-engineering-bundle/releases)[![PHP Version](https://camo.githubusercontent.com/7663c9d53dc13cedaf0660a8745a7e77d2dd711257f36aa86ebce12a0600ef42/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d626c75652e737667)](https://php.net/)[![Symfony Version](https://camo.githubusercontent.com/f8474858164ee2804604fa1ddc98046999117189d49ec265fb4d893f09a662eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d253545372e302d677265656e2e737667)](https://symfony.com/)[![Tests](https://camo.githubusercontent.com/c0b0696355f4adf26194b9551e1da15d687286ff0e640218d1abb4e975929517/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d3134342532422d627269676874677265656e2e737667)](./tests)[![Coverage](https://camo.githubusercontent.com/82b9b91c41025728627192eca629361ed2d643c2ba2be10a2217d2ef313aca51/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d25334539352532352d627269676874677265656e2e737667)](./coverage)

**Advanced Symfony Bundle for Database Reverse Engineering** - Automatically generate Doctrine entities from existing databases with advanced features and comprehensive testing.

**Developed** to simplify legacy application migration and modernization with enterprise-grade reliability.

🚀 Key Features
--------------

[](#-key-features)

- **Multi-Database Support**: MySQL, PostgreSQL, SQLite with comprehensive type mapping
- **Automatic Entity Generation**: PHP 8+ attributes with intelligent property mapping
- **Advanced Type Mapping**: Smart conversion of database types to PHP/Doctrine types
- **🆕 PHP 8.1 Backed Enum Support**: Automatic generation of type-safe enum classes from MySQL ENUM columns
- **Relationship Detection**: Automatic ManyToOne relationship generation
- **Repository Generation**: Doctrine repositories with customizable templates
- **Intuitive CLI Interface**: Rich command-line interface with extensive options and validation
- **Dry-Run Mode**: Preview changes before applying them with detailed output
- **Custom Namespaces**: Flexible namespace configuration for organized entity structure
- **Performance Optimized**: Efficient processing of large databases with batch operations

📋 Requirements
--------------

[](#-requirements)

- **PHP**: 8.1 or higher with required extensions
- **Symfony**: 7.0 or higher with full framework support
- **Doctrine DBAL**: 3.0 or higher for database abstraction
- **Doctrine ORM**: 2.15 or higher for entity management
- **PHP Extensions**: PDO with appropriate drivers for your database system
- **Memory**: Minimum 128MB for processing medium-sized databases

📦 Installation
--------------

[](#-installation)

### Install via Composer

[](#install-via-composer)

```
# Install the bundle
composer require eprofos/reverse-engineering-bundle
```

### Register the Bundle

[](#register-the-bundle)

The bundle should be automatically registered in `config/bundles.php`. If not, add it manually:

```
