miets/doctrine-behaviors
Doctrine ORM behavior extensions: reusable traits, event listeners and mappings that add timestampable, sluggable, soft-deletable, blameable and tree behavior to entities. Cuts boilerplate, keeps models clean, and drops into existing Doctrine setups with simple config.
Adopt when:
knplabs/doctrine-behaviors and need Symfony 7 compatibility now.Look elsewhere when:
SoftDeletes/timestamps plus spatie/laravel-sluggable, astrotomic/laravel-translatable, owen-it/laravel-auditing. This package does not apply.knplabs/doctrine-behaviors has caught up on Symfony 7, or you're staying on Symfony 6.x.Executives: A small, free MIT library that supplies standard, industry-familiar entity behaviors — created/updated timestamps, soft deletes, URL slugs, multi-language content, audit attribution, and hierarchies. Adopting it saves roughly a few engineering weeks of plumbing. The concepts are proven; the specific package is a one-person fork with essentially no adoption, so treat it as a code sample we can vendor, not a vendor relationship. Cost is zero; the risk is maintenance, not money.
Engineering: This is knplabs/doctrine-behaviors lineage patched for Symfony 7. Adopting it is low technical risk because the behaviors are simple, testable, and easily replaced — but high supply-chain risk given 2 stars, 0 dependents, and no release since Feb 2024. Recommendation: run a short spike to verify Symfony 7 support and test coverage, then fork it internally (or wrap it behind our own interfaces) so we can swap it out in a day. If the actual ask was a Laravel package, this is the wrong ecosystem entirely — stop and use the Spatie equivalents instead.
How can I help you explore Laravel packages today?