awstudio/doctrine-behaviors
awstudio/doctrine-behaviors provides reusable Doctrine behavior traits for Laravel and PHP applications, helping add common entity features such as timestamps, soft deletes, slugs, blameable users, sorting, and tree support with less boilerplate.
Bottom line: This package is a 2018-era Doctrine ORM trait library with a single star, zero dependents, and no release in roughly seven years. It is not a Laravel package in any meaningful sense — it is Doctrine2 infrastructure that a Laravel application would only touch if it had already replaced Eloquent with Doctrine via a bridge such as laravel-doctrine/orm. For a Laravel/PHP team it should be treated as rejected as a direct dependency, and considered only as a candidate for an internally owned fork if the Doctrine architecture is already a hard constraint.
Architecture fit
Doctrine\ORM\EventManager, not into Laravel's service container, facades, or Eloquent lifecycle.timestamps, SoftDeletes, attribute casting, and observer/event hooks that cover most of the same ground natively; slugs are covered by maintained packages like spatie/laravel-sluggable. If the application is Eloquent-based, this dependency delivers zero value.gedmo/doctrine-extensions and, for the subset of behaviors, KnpLabs/DoctrineBehaviors (the apparent upstream of this fork).Integration feasibility
EntityManager through the bridge's config, and the traits must be applied per entity. That is straightforward configuration, not deep integration.ClassUtils, annotation driver assumptions) that Doctrine ORM 3 has removed or deprecated. Laravel 11/12 requires PHP 8.2+, and modern Doctrine installs resolve to ORM 3.x. Expect hard incompatibilities, not just warnings.Technical risk
Key questions
gedmo/doctrine-extensions) cover them with maintained code?KnpLabs/DoctrineBehaviors, and is that upstream still viable?Recommendation: Do not add as a direct dependency. Run a 2–3 day spike to confirm which behaviors are genuinely required; default to Eloquent-native equivalents. If Doctrine is non-negotiable, evaluate gedmo/doctrine-extensions first and treat this package as a fork-only, internally owned fallback.
Stack fit
laravel-doctrine/orm (or equivalent bridge), PHP 8.x, Doctrine ORM 2.x/3.x.Migration path
timestamps, SoftDeletes, spatie/laravel-sluggable, observers. For Doctrine: gedmo/doctrine-extensions (softdeleteable, timestampable, sluggable, blameable, tree, translatable).EntityManager-based lookups, add PHP 8.2+/ORM 3 support, and tag internally.Compatibility
ClassUtils deprecation, Doctrine\Common\Persistence namespace moves, and typed-property assumptions in traits.Sequencing
gedmo feasibility check against each required behavior (3–5 days).Maintenance
Support
Scaling
Failure modes
Ramp-up
Net position: Low strategic value, high latent cost. The correct TPM move is to redirect the requirement to maintained Laravel-native or gedmo equivalents and reserve this package for a fork-only contingency with a funded owner.
How can I help you explore Laravel packages today?