bbc/DoctrineExtensions

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Doctrine2 behavioral extensions

Version 3.0.0

Build Status Total Downloads Latest Stable Version

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.

Latest updates

2016-01-27

2015-12-27

Extensions and Documentation

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:

ODM MongoDB support

List of extensions which support ODM

All these extensions can be nested together and mapped in traditional ways - annotations, xml or yaml

Running the tests:

pdo-sqlite extension is necessary. To setup and run tests follow these steps:

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.

Running the example:

To setup and run example follow these steps:

Contributors:

NOTE: 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:


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.