core icon indicating copy to clipboard operation
core copied to clipboard

[General] KnpLabs-DoctrineBehaviors vs Gedmo-DoctrineExtensions

Open craigh opened this issue 8 years ago • 11 comments

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 screen shot 2017-02-10 at 5 30 03 pm
  • 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 screen shot 2017-02-10 at 5 28 59 pm
  • blameable
  • filterable
  • geocodable
  • joinable
  • loggable
  • sluggable
  • softDeletable
  • sortable
  • timestampable
  • translatable
  • tree

craigh avatar Feb 10 '17 22:02 craigh

https://github.com/a2lix/TranslationFormBundle#documentation

implies that the "Gedmo" package is "old"

craigh avatar Feb 10 '17 22:02 craigh

We will reconsider this for 3.0.

Guite avatar Feb 11 '17 12:02 Guite

KnpLabs :+1:

Kaik avatar Feb 14 '17 19:02 Kaik

KnpLabs/DoctrineBehaviors last release Sep 30, 2016 Atlantic18/DoctrineExtensions last release Jul 2, 2017

craigh avatar Aug 08 '17 19:08 craigh

https://github.com/Atlantic18/DoctrineExtensions/issues/1915#issuecomment-386515900

Guite avatar May 04 '18 06:05 Guite

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

Guite avatar Aug 25 '18 07:08 Guite

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

Guite avatar Mar 21 '19 13:03 Guite

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 avatar Dec 25 '19 22:12 TomasVotruba

@TomasVotruba thank you much for taking the time to write us. I look forward to seeing great progress!

craigh avatar Dec 25 '19 22:12 craigh

For reference: https://www.tomasvotruba.cz/blog/2019/12/30/doctrine-behaviors-2-0-reloaded/#how-does-it-compare-to-gedmo-stof

Guite avatar Jan 05 '20 09:01 Guite