|
13 år sedan | |
---|---|---|
bin | 13 år sedan | |
doc | 13 år sedan | |
example | 13 år sedan | |
lib | 13 år sedan | |
schemas | 13 år sedan | |
tests | 13 år sedan | |
.gitignore | 14 år sedan | |
LICENSE | 13 år sedan | |
README.md | 13 år sedan | |
composer.json | 13 år sedan |
Version 2.2-DEV
Note: Use 2.1.x tag in order to use extensions based on Doctrine2.1.x versions. Currently master branch is based on 2.2.x versions and may not work with 2.1.x components.
2011-12-20
2011-10-30
2011-10-23
This package contains extensions for Doctrine2 that hook into the facilities of Doctrine and offer new functionality or tools to use Doctrine2 more efficently. This package contains mostly used behaviors which can be easily attached to your event system of Doctrine2 and handle the records being flushed in the behavioral way. List of extensions:
Currently these extensions support Yaml, Annotation and Xml mapping. Additional mapping drivers can be easily implemented using Mapping extension to handle the additional metadata mapping.
Note: Please note, that xml mapping needs to be in a different namespace, the declared namespace for Doctrine extensions is http://gediminasm.org/schemas/orm/doctrine-extensions-mapping So root node now looks like this:
Note: Use 2.1.x tag in order to use extensions based on Doctrine2.1.x versions. Currently master branch is based on 2.2.x versions and may not work with 2.1.x
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:gedmo="http://gediminasm.org/schemas/orm/doctrine-extensions-mapping">
...
</doctrine-mapping>
XML mapping xsd schemas are also versioned and can be used by version suffix:
List of extensions which support ODM
All these extensions can be nested together and mapped in traditional ways - annotations, xml or yaml
Notice: extension tutorial on doctrine blog is outdated, most recent documentation is in doc directory. There is a post introducing to these extensions on doctrine project
You can test these extensions on my blog.
All tutorials for basic usage examples are on my blog also.
PHPUnit 3.5 or newer is required. To setup and run tests follow these steps:
To setup and run example follow these steps: