core
core copied to clipboard
[General] KnpLabs-DoctrineBehaviors vs Gedmo-DoctrineExtensions
Should we reconsider doctrine behavior vendor?
https://github.com/KnpLabs/DoctrineBehaviors
- Last commit: 26 Nov 2016
- Last release: 30 Sept 2016 (11 releases)
- Open Issues: 66
- Open PRs: 35

- Tree - this extension automates the tree handling process and adds some tree specific functions on repository. (closure, nestedset or materialized path)
- Translatable - gives you a very handy solution for translating records into different languages. Easy to setup, easier to use.
- Sluggable - urlizes your specified fields into single unique slug
- Timestampable - updates date fields on create, update and even property change.
- Blameable - updates string or reference fields on create, update and even property change with a string or object (e.g. user).
- Loggable - helps tracking changes and history of objects, also supports version management.
- Sortable - makes any document or entity sortable
- Translator - explicit way to handle translations
- SoftDeleteable - allows to implicitly remove records
- Uploadable - provides file upload handling in entity fields
- References - supports linking Entities in Documents and vice versa
- ReferenceIntegrity - constrains ODM MongoDB Document references
- IpTraceable - inherited from Timestampable, sets IP address instead of timestamp
https://github.com/Atlantic18/DoctrineExtensions
- Last commit: 31 Dec 2016
- Last release: 21 Dec 2016 (46 releases)
- Open Issues: 346
- Open PRs: 61

- blameable
- filterable
- geocodable
- joinable
- loggable
- sluggable
- softDeletable
- sortable
- timestampable
- translatable
- tree
https://github.com/a2lix/TranslationFormBundle#documentation
implies that the "Gedmo" package is "old"
We will reconsider this for 3.0.
KnpLabs :+1:
KnpLabs/DoctrineBehaviors last release Sep 30, 2016 Atlantic18/DoctrineExtensions last release Jul 2, 2017
https://github.com/Atlantic18/DoctrineExtensions/issues/1915#issuecomment-386515900
We seem well advised to wait how both projects progress:
https://github.com/KnpLabs/DoctrineBehaviors#this-project-is-looking-for-maintainers https://github.com/Atlantic18/DoctrineExtensions/issues/1915#issuecomment-414812249
Both projects look for maintainers.
Seems new things are on the way...
https://github.com/Atlantic18/DoctrineExtensions/issues/2002 https://github.com/DoctrineExtensions https://github.com/doctrine-extensions
Great news everyone!
I took over KnpLabs\DoctrineBehaviors 3 weeks ago, version 2.0-alpha4 is out and being tested - https://github.com/KnpLabs/DoctrineBehaviors/releases/tag/v2.0.0-alpha4
Symfony 5 support, PHP 7.4 support, Rector, ECS, PHPStan in the CI and the usuall 2020 code quality stuffs :+1:
@TomasVotruba thank you much for taking the time to write us. I look forward to seeing great progress!
For reference: https://www.tomasvotruba.cz/blog/2019/12/30/doctrine-behaviors-2-0-reloaded/#how-does-it-compare-to-gedmo-stof