dflydev / dflydev-doctrine-orm-service-provider

Doctrine ORM Service Provider
MIT License
209 stars 59 forks source link

Register doctrine behavior #80

Closed PetarFedorovsky closed 5 years ago

PetarFedorovsky commented 7 years ago

Hi, Could someone explain how to add Sluggable, Translatable, Timestampable, Loggable, Tree and Sortable behaviors in Silex?

I'm trying to achieve: https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/doc/translatable.md#translation-entity

to have "page" table for non translatable part, and page_translations for translatable parts of a table.

Any help would be appreciated.

ntelfer commented 5 years ago

I found this Stackoverflow article helpful for this: https://stackoverflow.com/questions/10676242/using-doctrine2-sluggable-extension-with-silex

PetarFedorovsky commented 5 years ago

I found this Stackoverflow article helpful for this: https://stackoverflow.com/questions/10676242/using-doctrine2-sluggable-extension-with-silex

Tnx, but Silex is dead. Symfony 4 is basically what i was trying to achieve using silex.