Name: DoctrineExtensions
Owner: BBC
Description: Doctrine2 behavioral extensions, Translatable, Sluggable, Tree-NestedSet, Timestampable, Loggable, Sortable
Forked from: Atlantic18/DoctrineExtensions
Created: 2016-04-27 10:17:14.0
Updated: 2017-12-21 10:53:00.0
Pushed: 2017-09-28 10:32:55.0
Homepage: http://atlantic18.github.io/DoctrineExtensions/
Size: 5593
Language: PHP
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Version 3.0.0
Note: Extensions 3.0.x are compatible with ORM and doctrine common libraries from 2.5.x and requires PHP 5.4 or higher. Extensions 2.4.x are compatible with ORM and doctrine common library versions from 2.2.x to 2.5.x
Since the author has stopped working with PHP, looking for maintainers to ensure stability of doctrine extensions.
2016-01-27
2015-12-27
This package contains extensions for Doctrine2 that hook into the facilities of Doctrine and offer new functionality or tools to use Doctrine2 more efficiently. 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.
Note: Please note, that xml mapping needs to be in a different namespace, the declared namespace for Doctrine extensions is doctrine-extensions.xsd So root node now looks like this:
trine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-extensions.xsd"
xmlns:gedmo="http://Atlantic18.github.io/DoctrineExtensions/schemas/orm/doctrine-extensions.xsd">
ctrine-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
pdo-sqlite extension is necessary. To setup and run tests follow these steps:
composer install
bin/phpunit -c tests
NOTE: if php7 is used with mongodb install extension and dependencies using composer7.json. This is a temporary hack until the better ODM support is available.
To setup and run example follow these steps:
composer install
example/em.php
and configure your database on top of the file./example/bin/console
or php example/bin/console
for console commands./example/bin/console orm:schema-tool:create
to create schemaphp example/run.php
to run exampleNOTE: composer7.json is only used to test extensions with ODM mongodb using php7, same for travis.
Thanks to everyone participating in the development of these great Doctrine2 extensions!
And especially ones who create and maintain new extensions: