Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Doctrine Behaviors Bundle Laravel Package

unifik/doctrine-behaviors-bundle

A Symfony bundle that adds reusable Doctrine behavior traits such as timestampable, blameable, sluggable, and soft-deletable to your entities, reducing boilerplate and keeping entity mappings clean and consistent across projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for entity plumbing, not product differentiation. The package bundles common Doctrine ORM behaviors (timestamps, blameable/author stamping, slugs, soft deletes, translations) as reusable PHP traits. As a PM, this is useful only as a checklist: if your backlog contains "add audit fields," "add slugs," or "support multi-language content," those are commodity capabilities — they should never consume roadmap time or drive architecture debates.
  • Build-vs-buy calls on commodity infrastructure. Eleven stars and zero dependents mean this is effectively a reference implementation, not a supported dependency. The decision it supports is "build in-house (copy the trait pattern)" rather than "buy/adopt."
  • Legacy-platform risk assessment. The package targets Symfony2, not Laravel. Symfony2 reached end-of-life in 2018. Any codebase that needs this package is, by definition, running an unsupported framework — which elevates "framework modernization" on the roadmap above almost any feature work.
  • Vendor and licensing gate. The license reports as NOASSERTION, which is a legal-review blocker for commercial distribution. That's a product-level constraint (shipping risk), not just an engineering detail.
  • Not a fit for a Laravel roadmap. For a Laravel product, the equivalent decisions are covered by Eloquent model traits plus maintained packages (e.g., spatie/laravel-sluggable, laravel-doctrine extensions). This package contributes nothing to a Laravel build.

When to Consider This Package

Consider it only when all of the following hold:

  • You are maintaining an existing Symfony2 / Doctrine ORM application, not a Laravel one.
  • You need one or more standard behaviors immediately and the effort of writing 20–40 lines of trait code per behavior is genuinely higher than integrating this.
  • Legal has cleared a NOASSERTION license, or the code is being vendored/forked with attribution resolved.
  • You accept that there is no upstream support, no security patching, and no community (11 stars, 0 dependents).

Look elsewhere when:

  • You are on Laravel — use Eloquent traits or maintained Spatie/Doctrine packages.
  • You are on modern Symfony (5/6/7) — use Gedmo DoctrineExtensions, KnpLabs DoctrineBehaviors, or Symfony's own mapping tools.
  • You need long-term maintainability, CVE response, or a supplier you can put in a contract.
  • You need translatable/i18n behavior at scale — this is where DIY traits get subtly wrong (fallbacks, locale routing) and a maintained library earns its keep.

Given the low opportunity score and near-zero adoption, treat this as inspiration, not a dependency.

How to Pitch It (Stakeholders)

To executives: This is a small, unmaintained Symfony2 utility with an unclear license and no user base. It is not a strategic dependency and carries legal and continuity risk. Recommendation: do not adopt. If we encounter it in an acquired or inherited codebase, it is a signal that the system is on an end-of-life framework and should be scheduled for modernization.

To engineering: The idea is sound — reuse traits for cross-cutting entity concerns — but the implementation is dated and effectively a reference. Copy the pattern into our own codebase, keep the trait surface minimal (timestamps, actor stamping, slugs), and back it with our own tests. For a Laravel product, use native Eloquent traits and vetted packages instead; there is no reason to introduce a Symfony2 bundle.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource