electricmaxxx / doctrine-orm-phpcr-adapter-bundle
Bundle to use the orm-odm-adapter library
Installs: 2 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 5
Forks: 1
Open Issues: 6
Requires
- php: >=5.3.3
- electricmaxxx/doctrine-orm-odm-adapter: 1.0.*@dev
Requires (Dev)
- doctrine/orm: 2.4.*
- doctrine/phpcr-bundle: 1.2.*@dev
- doctrine/phpcr-odm: dev-uuid-on-references as 1.1.0
- matthiasnoback/symfony-config-test: 0.*
- matthiasnoback/symfony-dependency-injection-test: 0.*
- symfony-cmf/testing: dev-master
- symfony/symfony: 2.5.*
Suggests
- symfony/yaml: ~2.0
This package is auto-updated.
Last update: 2024-10-12 04:00:04 UTC
README
DoctrineOrmPhpcrAdapterBundle for the Symfony Framework.
This bundle integrates the Doctrine ORM-ODM-Adapter into Symfony2.
What is Doctrine ORM-ODM-Adapter?
The Doctrine Project is the home of a selected set of PHP libraries primarily focused on providing persistence services and related functionality. Ths ORM-ODM-Adapter provides the chance to reference objects between different doctrine implementations.
Documentation
Minimum Configuration
doctrine_orm_phpcr_adapter: managers: reference-phpcr: defaul: doctrine_phpcr.odm.default_document_manager reference-dbal-orm: default: doctrine.orm.default_entity_manager adapters: mapping: true auto_generate_proxy_classes: %kernel.debug%
You can add some mapping for the documents/entities as you used to know it in the ORM/ODM:
doctrine_orm_phpcr_adapter: ... mappings: some_name: type: annotation dir: ../Entity is_bundle: true
Your will find the mapping information in the (library)[https://github.com/ElectricMaxxx/DoctrineOrmOdmAdapter]