Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 117 lines (84 sloc) 5.306 kb
a01d346 @l3pp4rd [sluggable] more tests and docs for handlers
authored
1 # Doctrine2 behavioral extensions
79695df @l3pp4rd readme update
authored
2
8b4ceed @l3pp4rd [docs] updated documentation
authored
3 **Version 2.2-DEV**
4
4931b7d @l3pp4rd [docs] updating documentation in more sensible way
authored
5 ### Latest updates
6
7 **Note:** Use 2.1.x tag in order to use extensions based on Doctrine2.1.x versions. Currently
b270096 @l3pp4rd [doc] note about ODM and 2.2.x
authored
8 master branch is based on 2.2.x versions and may not work with 2.1.x components. ODM currently
9 does not work with **doctrine common 2.2.x**
4931b7d @l3pp4rd [docs] updating documentation in more sensible way
authored
10
03a7fd5 @l3pp4rd [mapping] updated annotations and documentation related
authored
11 **2011-10-30**
12
13 - Support for doctrine common **2.2.x** with backward compatibility. Be sure to use all components
14 from the specific version, etc.: **2.2.x** or **2.1.x** both are supported
15
e5048c6 @l3pp4rd [doc] updated readme for new extension
authored
16 **2011-10-23**
17
18 - [@everzet](https://github.com/everzet) has contributed the **Translator** behavior, which indeed
19 is a more explicit way of handling translations in your projects
20
26299d6 @l3pp4rd [docs] updated documentation regarding translatable
authored
21 **2011-10-08**
22
23 - Thanks to [@acasademont](https://github.com/acasademont) Translatable now does not store translations for default locale. It is always left as original record value.
24 So be sure you do not change your default locale per project or per data migration. This way
25 it is more rational and unnecessary to store it additionaly in translation table.
26
4931b7d @l3pp4rd [docs] updating documentation in more sensible way
authored
27 **2011-09-24**
28
29 - Sluggable was refactored with a **BC break** for the sake of simplicity it now uses a single @Slug annotation.
30 Also there were slug handlers introduced for extended sluggable functionality, like path based
31 or relation based slugs. See the [documentation](https://github.com/l3pp4rd/DoctrineExtensions/blob/master/doc/sluggable.md)
32
33 ### Summary and features
34
a01d346 @l3pp4rd [sluggable] more tests and docs for handlers
authored
35 This package contains extensions for Doctrine2 that hook into the facilities of Doctrine and
36 offer new functionality or tools to use Doctrine2 more efficently. This package contains mostly
37 used behaviors which can be easily attached to your event system of Doctrine2 and handle the
3599167 @l3pp4rd updated readme
authored
38 records being flushed in the behavioral way. List of extensions:
79695df @l3pp4rd readme update
authored
39
42325be Update of README and identation fixes
Gediminas Morkevicius authored
40 - Tree - this extension automates the tree handling process and adds some tree specific functions on repository. (closure or nestedset)
3599167 @l3pp4rd updated readme
authored
41 - Translatable - gives you a very handy solution for translating records into diferent languages. Easy to setup, easier to use.
42 - Sluggable - urlizes your specified fields into single unique slug
43 - Timestampable - updates date fields on create, update and even property change.
f0d2efd [loggable] tests and other changes
Gediminas Morkevicius authored
44 - Loggable - helps tracking changes and history of objects, also supports version managment.
3918019 @l3pp4rd updated README
authored
45 - Sortable - makes any document or entity sortable
e5048c6 @l3pp4rd [doc] updated readme for new extension
authored
46 - Translator - explicit way to handle translations
3649d79 @l3pp4rd repository method for finding all translations
authored
47
eb25e74 @mvrhov Xml mapping driver now uses its own namespace.
mvrhov authored
48 Currently these extensions support **Yaml**, **Annotation** and **Xml** mapping. Additional mapping drivers
3918019 @l3pp4rd updated README
authored
49 can be easily implemented using Mapping extension to handle the additional metadata mapping.
6bcddf0 @l3pp4rd yaml mapping driver support for all extensions
authored
50
3918019 @l3pp4rd updated README
authored
51 **Note:** Please note, that xml mapping needs to be in a different namespace, the declared namespace for
eb25e74 @mvrhov Xml mapping driver now uses its own namespace.
mvrhov authored
52 Doctrine extensions is http://gediminasm.org/schemas/orm/doctrine-extensions-mapping
53 So root node now looks like this:
3918019 @l3pp4rd updated README
authored
54
a01d346 @l3pp4rd [sluggable] more tests and docs for handlers
authored
55 **Note:** Use 2.1.x tag in order to use extensions based on Doctrine2.1.x versions. Currently
56 master branch is based on 2.2.x versions and may not work with 2.1.x
57
7fd7dab @mvrhov Trying to get github to format the xml
mvrhov authored
58 ```
59 <doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
60 xmlns:gedmo="http://gediminasm.org/schemas/orm/doctrine-extensions-mapping">
61 ...
62 </doctrine-mapping>
63 ```
eb25e74 @mvrhov Xml mapping driver now uses its own namespace.
mvrhov authored
64
ca989dc @l3pp4rd [docs] updated readme
authored
65 XML mapping xsd schemas are also versioned and can be used by version suffix:
66
67 - Latest version - **http://gediminasm.org/schemas/orm/doctrine-extensions-mapping**
68 - 2.2.x version - **http://gediminasm.org/schemas/orm/doctrine-extensions-mapping-2-2**
69 - 2.1.x version - **http://gediminasm.org/schemas/orm/doctrine-extensions-mapping-2-1**
70
427ea4b @l3pp4rd [translatable] odm mongodb translation listener
authored
71 ### ODM MongoDB support
72
11a79dd updated README
Gediminas Morkevicius authored
73 List of extensions which support ODM
427ea4b @l3pp4rd [translatable] odm mongodb translation listener
authored
74
75 - Translatable
76 - Sluggable
887e37d @l3pp4rd [timestampable] odm listener implementation
authored
77 - Timestampable
f0d2efd [loggable] tests and other changes
Gediminas Morkevicius authored
78 - Loggable
3918019 @l3pp4rd updated README
authored
79 - Sortable
e5048c6 @l3pp4rd [doc] updated readme for new extension
authored
80 - Translator
427ea4b @l3pp4rd [translatable] odm mongodb translation listener
authored
81
3918019 @l3pp4rd updated README
authored
82 All these extensions can be nested together and mapped in traditional ways - annotations,
83 xml or yaml
3649d79 @l3pp4rd repository method for finding all translations
authored
84
3918019 @l3pp4rd updated README
authored
85 **Notice:** extension tutorial on doctrine blog is outdated, most recent documentation is in **doc** directory.
f09c865 @l3pp4rd readme update
authored
86 There is a post introducing to these extensions on [doctrine project](http://www.doctrine-project.org/blog/doctrine2-behavioral-extensions "Doctrine2 behavior extensions")
87
3599167 @l3pp4rd updated readme
authored
88 You can test these extensions on [my blog](http://gediminasm.org/test/ "Test doctrine behavior extensions").
baf3c26 @l3pp4rd merged tree branch into master, and created tree behavior
authored
89
3599167 @l3pp4rd updated readme
authored
90 All tutorials for basic usage examples are on [my blog](http://gediminasm.org "Tutorials for extensions") also.
9d81595 @l3pp4rd readme update, added contributor names
authored
91
81edcf7 @l3pp4rd created vendor dir, updated test running config
authored
92 ### Running the tests:
93
b830874 [tree] refactored closure tree, which is fully functional now, reference...
Gediminas Morkevicius authored
94 PHPUnit 3.5 or newer is required.
81edcf7 @l3pp4rd created vendor dir, updated test running config
authored
95 To setup and run tests follow these steps:
96
97 - go to the root directory of extensions
90d86c6 @l3pp4rd [vendors] removed submodules in order to avoid recursive cloning, added ...
authored
98 - run: **php bin/vendors.php**
b830874 [tree] refactored closure tree, which is fully functional now, reference...
Gediminas Morkevicius authored
99 - run: **phpunit -c tests**
aee5b41 [docs] update tree specific changes
Gediminas Morkevicius authored
100 - optional - run mongodb in background to complete all tests
81edcf7 @l3pp4rd created vendor dir, updated test running config
authored
101
f0d2efd [loggable] tests and other changes
Gediminas Morkevicius authored
102 ### Contributors:
9d81595 @l3pp4rd readme update, added contributor names
authored
103
26299d6 @l3pp4rd [docs] updated documentation regarding translatable
authored
104 - acasademont [acasademont](https://github.com/acasademont)
8b4ceed @l3pp4rd [docs] updated documentation
authored
105 - Lukas Botsch [lbotsch](http://github.com/lbotsch)
b5562bf @l3pp4rd [docs] updated sluggable documentation and README
authored
106 - Daniel Gomes [danielcsgomes](http://github.com/danielcsgomes)
3918019 @l3pp4rd updated README
authored
107 - megabite [oscarballadares](http://github.com/oscarballadares)
4a2ba86 @l3pp4rd [sluggable] configuration handling for multiple slugs and README update
authored
108 - DinoWeb [dinoweb](http://github.com/dinoweb)
321b953 @l3pp4rd [mapping] merged xml driver branch and updated the docs
authored
109 - Miha Vrhovnik [mvrhov](http://github.com/mvrhov)
2a13d90 [sluggable] merged @dator sluggable position into master, pr #37
Gediminas Morkevicius authored
110 - Clément JOBEILI [dator](http://github.com/dator)
111 - Illya Klymov [xanf](http://github.com/xanf)
42325be Update of README and identation fixes
Gediminas Morkevicius authored
112 - Gustavo Adrian [comfortablynumb](http://github.com/comfortablynumb)
f0d2efd [loggable] tests and other changes
Gediminas Morkevicius authored
113 - Boussekeyt Jules [gordonslondon](http://github.com/gordonslondon)
9d81595 @l3pp4rd readme update, added contributor names
authored
114 - Christophe Coevoet [stof](http://github.com/stof)
115 - Kudryashov Konstantin [everzet](http://github.com/everzet)
116 - Klein Florian [docteurklein](http://github.com/docteurklein)
Something went wrong with that request. Please try again.