PHPackages                             fgsl/doctrine-orm-module - 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. fgsl/doctrine-orm-module

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

fgsl/doctrine-orm-module
========================

Laminas Module that provides Doctrine ORM functionality

1.0.0(6y ago)06MITPHPPHP ^7.1CI failing

Since Feb 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/fgsl/DoctrineORMModule)[ Packagist](https://packagist.org/packages/fgsl/doctrine-orm-module)[ Docs](https://github.com/fgsl/DoctrineORMModule)[ RSS](/packages/fgsl-doctrine-orm-module/feed)WikiDiscussions master Synced 6d ago

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

Doctrine 2 ORM Module for Laminas
=================================

[](#doctrine-2-orm-module-for-laminas)

This is a refactoring of Doctrine\\DoctrineORMModule for Laminas.

DoctrineORMModule integrates Doctrine 2 ORM with Laminas quickly and easily.

- Doctrine 2 ORM support
- Multiple ORM entity managers
- Multiple DBAL connections
- Reuse existing PDO connections in DBAL connection

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

[](#installation)

Installation of this module uses composer. For composer documentation, please refer to [getcomposer.org](http://getcomposer.org/).

```
composer require fgsl/doctrine-orm-module
```

Then add `DoctrineModule` and `DoctrineORMModule` to your `config/application.config.php` and create directory `data/DoctrineORMModule/Proxy` and make sure your application has write access to it.

Installation without composer is not officially supported and requires you to manually install all dependencies that are listed in `composer.json`

Entities settings
-----------------

[](#entities-settings)

To register your entities with the ORM, add following metadata driver configurations to your module (merged) configuration for each of your entities namespaces:

```
