Download the PHP package joacub/doctrine-orm-module without Composer
On this page you can find all versions of the php package joacub/doctrine-orm-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package doctrine-orm-module
Doctrine 2 ORM Module for Zend Framework 2
DoctrineORMModule integrates Doctrine 2 ORM with Zend Framework 2 quickly and easily.
- Doctrine 2 ORM support
- Multiple ORM entity managers
- Multiple DBAL connections
- Reuse existing PDO connections in DBAL connection
Installation
Installation of this module uses composer. For composer documentation, please refer to getcomposer.org.
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
To register your entities with the ORM, add following metadata driver configurations to your module (merged) configuration for each of your entities namespaces:
Connection settings
Connection parameters can be defined in the application configuration:
Full configuration options
An exhaustive list of configuration options can be found directly in the Options classes of each module.
You can find documentation about the module's features at the following links:
Registered Service names
doctrine.connection.orm_default
: aDoctrine\DBAL\Connection
instancedoctrine.configuration.orm_default
: aDoctrine\ORM\Configuration
instancedoctrine.driver.orm_default
: default mapping driver instancedoctrine.entitymanager.orm_default
: theDoctrine\ORM\EntityManager
instanceDoctrine\ORM\EntityManager
: an alias ofdoctrine.entitymanager.orm_default
doctrine.eventmanager.orm_default
: theDoctrine\Common\EventManager
instance
Command Line
Access the Doctrine command line as following
Service Locator
To access the entity manager, use the main service locator:
All versions of doctrine-orm-module with dependencies
doctrine/doctrine-module Version ~1.0
doctrine/orm Version >=2.5,<2.7
doctrine/dbal Version >=2.4,<2.7
zendframework/zend-stdlib Version ^2.7.6
zendframework/zend-hydrator Version ^1.1
zendframework/zend-mvc Version ^2.5.2
zendframework/zend-servicemanager Version ^2.7.5 || ^3.0.3
symfony/console Version ~2.5|~3.0