πŸ‡ΊπŸ‡¦ UKRAINE NEEDS YOUR HELP NOW!
Doctrine
  • Projects
    Annotations Cache Coding Standard Collections Common Data fixtures DBAL Event Manager Inflector Instantiator Lexer Migrations MongoDB ODM ORM Persistence PHPCR ODM Reflection RST Parser Skeleton Mapper View All
  • Development
    Community Contributor Workflow Maintainer Workflow Contribute to Website Maintainers Contributors Policies GitHub Styleguide
  • Events
  • Consulting
  • Partners
  • Blog
Edit
  • Introduction
    • Installation
    • Next Steps
  • User Guide
    • Entities settings
    • Connection settings
      • Full configuration options
    • Registered Service names
      • Command Line
      • Service Locator
  • Laminas Developer Tools in DoctrineORMModule
    • Setup
      • Multiple EntityManager/Connection instances and logging
  • Configuration
    • Register a Custom DQL Function
    • How to add a Custom Type
    • Using DBAL Middlewares
    • Built-in Resolver
    • Set a Custom Default Repository
    • How to Use Two Connections
    • How to Use a Naming Strategy
    • How to Use a Quote Strategy
    • How to Override RunSqlCommand Creation
    • How to Exclude Tables from a Schema Diff
  • Caching
    • Redis Example
    • How to enable and configure Second Level Cache
  • Doctrine Migrations
    • Configure
    • Set a Custom configuration into DependencyFactory
      • List of services that can be overwritten
  • Laminas Forms
    • Creating Forms using Entity Annotations
    • Doctrine-specific Form Elements
    • Doctrine-specific Validators
  • Miscellaneous
    • Authentication Adapter
    • Custom DBAL Types
  1. Projects
  2. Doctrine ORM Module for Laminas
  3. Documentation
5.3.0
Maintained
5.4 (upcoming) 5.3.0 (current)
Unmaintained
6.0 5.2 5.1 5.0 4.2 4.1 4.0 3.2 3.1 3.0 2.1

Introduction

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

Installation

Run the following to install this library using Composer:

$ composer require doctrine/doctrine-orm-module

Next Steps

  • User Guide
    • Entities settings
    • Connection settings
    • Registered Service names
  • Laminas Developer Tools in DoctrineORMModule
    • Setup
  • Configuration
    • Register a Custom DQL Function
    • How to add a Custom Type
    • Using DBAL Middlewares
    • Built-in Resolver
    • Set a Custom Default Repository
    • How to Use Two Connections
    • How to Use a Naming Strategy
    • How to Use a Quote Strategy
    • How to Override RunSqlCommand Creation
    • How to Exclude Tables from a Schema Diff
  • Caching
    • Redis Example
    • How to enable and configure Second Level Cache
  • Doctrine Migrations
    • Configure
    • Set a Custom configuration into DependencyFactory
  • Laminas Forms
    • Creating Forms using Entity Annotations
    • Doctrine-specific Form Elements
    • Doctrine-specific Validators
  • Miscellaneous
    • Authentication Adapter
    • Custom DBAL Types
  • Projects
  • Partners
  • Sponsorship
  • Community
  • Blog
  • Events
  • Consulting