Skip to content

HTTPS clone URL

Subversion checkout URL

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