Need help with DoctrineORMModule?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

413 Stars 228 Forks MIT License 1.1K Commits 3 Opened issues


Doctrine ORM Module for Laminas

Services available


Need anything else?

Contributors list

Doctrine ORM Module for Laminas

Build Status Code Coverage Latest Stable Version Total Downloads

The DoctrineORMModule leverages DoctrineModule and integrates Doctrine ORM with Laminas quickly and easily. The following features are intended to work out of the box:

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


Run the following to install this library using Composer:

composer require doctrine/doctrine-orm-module

Note on PHP 8.0 or later

DoctrineModule provides an integration with laminas-cache, which currently comes with some storage adapters which are not compatible with PHP 8.0 or later. To prevent installation of these unused cache adapters, you will need to add the following to your

    "require": {
         "doctrine/doctrine-orm-module": "^4.1.0"
    "replace": {
        "laminas/laminas-cache-storage-adapter-apc": "*",
        "laminas/laminas-cache-storage-adapter-dba": "*",
        "laminas/laminas-cache-storage-adapter-memcache": "*",
        "laminas/laminas-cache-storage-adapter-memcached": "*",
        "laminas/laminas-cache-storage-adapter-mongodb": "*",
        "laminas/laminas-cache-storage-adapter-wincache": "*",
        "laminas/laminas-cache-storage-adapter-xcache": "*",
        "laminas/laminas-cache-storage-adapter-zend-server": "*"

Consult the laminas-cache documentation for further information on this issue.


Please check the documentation on the Doctrine website for more detailed information on features provided by this component. The source files for the documentation can be found in the docs directory.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.