knplabs/doctrine-behaviors
Doctrine Behavior Traits
v3.1.0
13M downloads/mo
#2678 most downloaded on Packagist
KnpLabs/DoctrineBehaviors
What this package is like to depend on
Last release 7 months ago
09 Jan 2026
Ships unpredictably
gaps range from 2 weeks to 3.2 years
Some releases are documented
notes for 15 of 37 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
42 releases · first in 2013
2 releases in the last 12 months
see the full history below
Release timeline
42 releases · Jun 2013 to Jan 2026Releases
latest 42-
v3.1.009 Jan 2026 -
v3.0.012 Oct 2025Release notes
Open source →This release bumps the versions of different dependencies to allow installation on newer Symfony versions
Supported versions:
- PHP:
8.1+ - Symfony: 5.4 support is removed and currently is
^6.4 and ^7.2supported - Doctrine ORM:
^2.12 and ^3.0 - Doctrine DBAL:
^3.8 and ^4.1
Various doctrine orm and dbal deprecations are resolved (ag. Doctrine eventsubscribers are converted to event listeners)
- PHP:
-
2.6.206 Aug 2022 -
2.6.104 Jun 2022 -
2.6.001 Jan 2022 -
2.5.022 Nov 2021 -
2.4.007 Nov 2021Nothing published for this version
-
2.3.311 Aug 2021 -
2.3.209 Aug 2021 -
2.3.109 Aug 2021 -
2.3.009 Aug 2021Nothing published for this version
-
2.2.008 Mar 2021Nothing published for this version
-
2.1.008 Mar 2021Nothing published for this version
-
v2.0.809 Nov 2020Nothing published for this version
-
v2.0.730 Aug 2020Nothing published for this version
-
v2.0.622 Jun 2020Nothing published for this version
-
v2.0.521 Jun 2020Nothing published for this version
-
v2.0.427 Apr 2020Nothing published for this version
-
v2.0.301 Apr 2020Nothing published for this version
-
v2.0.228 Mar 2020Nothing published for this version
-
v2.0.107 Jan 2020Release notes
Open source →Changed
- [#493] Moved unitOfWork access to methods instead of constructor, Thanks to [@toooni]
- [#484] Update trait names in docs, Thanks to [@ckrack]
Fixed
- [#490] fix boolean method name prefix
- [#487] Fix slug uniqueness, Thanks to [@hermann8u]
-
v2.0.001 Jan 2020Release notes
Open source →Changed
- [#479] make lazy loading configurable
Removed
- [#480] [Translatable] Remove mapId() magic
-
v2.0.0-beta101 Jan 2020 pre-releaseRelease notes
Open source →Added
- [#470] Add
CHANGELOG.md
Changed
- [#475] [Tree] Include name "tree" in naming
- [#478] Improve docs, handle timestampable field type for the user
- [#474] split NodeTrait to NodeMethodsTrait and NodePropertiesTrait
Fixed
- [#477] Fix slug uniqueness check function, Thanks to [@StanislavUngr]
- [#472] Fix slug generation if the getRegenerateSlugOnUpdate method return false, Thanks to [@hermann8u]
Removed
- [#473] [Sortable] Drop, it never worked
- [#470] Add
-
v2.0.0-alpha423 Dec 2019 pre-release -
v2.0.0-alpha319 Dec 2019 pre-releaseRelease notes
Open source →Changed
- [#468] Use symfony/strings instead of transliterator
Removed
- [#467] [Geocodable] Drop for very wide interface and limited usage
- [#464] Remove scheduleExtraUpdate calls
-
v2.0.0-alpha218 Dec 2019 pre-releaseRelease notes
Open source →Added
- [#448] [Translation] add abstract class support
- [#460] add setTranslations()
- [#452] Add missing dependency symplify/package-builder, Thanks to [@webda2l]
- [#447] add default location provider
Changed
- [#458] Use PHP 7.4 instead of a snapshot on Travis, Thanks to [@andreybolonin]
- [#459] composer: use the symfony/security for symfony 4.4
- [#461] Various updates
- [#449] make slug unique optionally [closes [#236]]
- [#453] use entity list instead of explicit
- [#450] [Uuidable] init
- [#451] [tests] move entities and repositories to own namespaces
Removed
- [#463] drop filterable, way to opinionated and limited, use custom implementation
- [#457] remove repository traits, use custom methods in own repository instead
-
v2.0.0-alpha112 Dec 2019 pre-releaseRelease notes
Open source →Added
- [#435] [CI] Add + Apply Coding Standards: PSR12, PHP 7.0, PHP 7.1
- [#445] [CI] Add Rector
- [#436] Add static code analysis and PSR-4 for tests
- [#443] Add code of conduct
- [#425] Explicitly add maintainers in the README, Thanks to [@alexpozzi]
Changed
- [#423] Do not specify version constraint - let Composer do this, Thanks to [@bocharsky-bw]
- [#433] Travis: bump to min PHP 7.2, test stable doctrine/orm
- [#389] Shrink locale columns to 5 chars, Thanks to [@NiR-]
- [#442] Refactoring tests to dependency injection container based + use interfaces over traits for detection
- [#390] Document master and v1 branches, Thanks to [@NiR-]
- [#438] [cs] apply common set - unite MIT license to single file
- [#444] [cs] use trait suffix for traits to prevent opening
- [#439] [cs] apply symplify set
- [#441] [tests] strict types for subscribers, various PR cherry-pick
Fixed
- [#440] [Translatable] Fix property access on twig
- [#411] Fix config deprecation, Thanks to [@martinprihoda]
-
1.6.109 Dec 2019Nothing published for this version
-
1.6.013 Nov 2018Release notes
Open source →Added
- [#358] [Tree] Add possibility to pass extra parameters in getTree, Thanks to [@Einenlum]
Changed
- [#382] [Translatable] Do not persist new translations if empty, Thanks to [@giuliapellegrini]
- [#392] Only set locales on entities managed by knp translations, Thanks to [@jordisala1991]
-
1.5.027 Sep 2017Release notes
Open source →Added
- [#361] Add nullable setchildof, Thanks to [@Einenlum]
Changed
- [#363] Looking for maintainers, Thanks to [@Einenlum]
Fixed
- [#365] Fix drop php < 7, Thanks to [@Einenlum]
-
1.4.119 Sep 2017Release notes
Open source →Changed
- [#338] Update branch alias in composer.json, Thanks to [@nykopol]
- [#326] Use svg image for Travis badge and show status of master branch, Thanks to [@bocharsky-bw]
- [#328] Run PHPUnit in normal mode instead of --testdox, Thanks to [@bocharsky-bw]
Fixed
- [#304] Minor fix: Tweak docblocks, Thanks to [@bocharsky-bw]
- [#256] fix typo, Thanks to [@shieldo]
- [#332] Fix: isEmpty() return true if it's empty, Thanks to [@corentinheadoo]
- [#360] Fix doctrine dependency and drop PHP < 7, Thanks to [@Einenlum]
- [#350] Fix disabling softdeletable, Thanks to [@ossinkine]
- [#353] Markdown syntax fix, Thanks to [@Nyholm]
-
1.4.030 Sep 2016Release notes
Open source →- [#317] Fix interaction between translations & joined inheritance, Thanks to [@lemoinem]
- [#316] Fixes for Symfony 3.1, Thanks to [@tarlepp]
-
1.3.209 Mar 2016Nothing published for this version
-
1.3.109 Mar 2016Nothing published for this version
-
1.3.018 Dec 2015Nothing published for this version
-
1.2.011 Sep 2015Nothing published for this version
-
1.1.114 Jul 2015Nothing published for this version
-
v1.1.011 May 2015Nothing published for this version
-
v1.0.306 Feb 2015Nothing published for this version
-
v1.0.217 Sep 2014Nothing published for this version
-
v1.0.122 Jan 2014Nothing published for this version
-
v1.0.017 Jun 2013Nothing published for this version