Julio Montoya 1255db54c8 Updating vendors | 11 роки тому | |
---|---|---|
.. | ||
doc | 11 роки тому | |
example | 11 роки тому | |
lib | 11 роки тому | |
schemas | 11 роки тому | |
tests | 11 роки тому | |
upgrade | 12 роки тому | |
.travis.yml | 11 роки тому | |
LICENSE | 11 роки тому | |
README.md | 11 роки тому | |
composer.json | 11 роки тому |
Version 2.3.7
Note: Extensions 2.3.x are compatible with ORM and doctrine common library versions from 2.2.x to 2.4.x
2013-03-10
2013-03-05
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
You can test these extensions on my blog. All tutorials for basic usage examples are on my blog too. You can also fork or clone this blog from github repository
PHPUnit 3.6 or newer is required. To setup and run tests follow these steps:
To setup and run example follow these steps:
Thanks to everyone participating in the development of these great Doctrine2 extensions!
And especialy ones who create and maintain new extensions: