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

ruwork/doctrine-behaviors-bundle

Symfony bundle for integrating Doctrine behavioral extensions, simplifying configuration of behaviors such as timestampable, blameable, sluggable, tree, and soft-deletable entities in your projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for common domain behaviors. The bundle packages the standard Doctrine behavioral patterns — timestampable (created/updated), blameable (who changed it), sluggable (URL-safe identifiers), soft-deletable, tree/nested-set, loggable/auditable. That maps directly onto a recurring class of feature requests: audit trails, "who edited this," human-readable URLs, reversible deletes, hierarchical categories. If your roadmap contains two or more of those, this is a candidate shortcut rather than bespoke engineering.
  • Build vs. buy vs. adopt. A PM can use this as the "buy/adopt" anchor in a build-vs-buy comparison: adopting a bundle (zero upfront cost, nonzero maintenance cost) against writing a handful of Doctrine event listeners in-house (a few days of engineering, fully owned).
  • Legacy modernization and migration sequencing. Because it's tied to older Symfony/Doctrine conventions, it's useful as a signal in migration planning: "are we still relying on bundles like this?" is a concrete dependency to retire during a framework upgrade.
  • Not a decision driver for new products. With zero stars, zero dependents, no release in seven years, and an archived repository, it cannot responsibly anchor a greenfield roadmap decision. Its value to a PM is mainly as evidence of a pattern worth reimplementing, not as a dependency worth taking on.
  • Framing correction worth flagging: this is a Symfony bundle for Doctrine ORM, not a Laravel package. For a Laravel product, the decision is effectively "do we port the behavior-trait pattern to Eloquent?" — the bundle itself is not adoptable, only the concept is.

When to Consider This Package

Consider it only when all of the following hold:

  • You are on a Symfony + Doctrine stack (not Laravel/Eloquent), and on a version old enough that the bundle's 2018-era assumptions still compile.
  • You need one or more textbook behaviors (timestampable, blameable, sluggable, soft-delete, tree) and would otherwise write them yourself.
  • You have in-house PHP capacity to fork and maintain it — MIT license means forking is legally clean, but you own the maintenance.
  • The codebase already has a frozen or slowly changing dependency set, so an unmaintained bundle won't block a framework upgrade.

Look elsewhere — or write it yourself — when any of these is true:

  • New or actively upgraded project. Archived, no releases since June 2018, zero stars and zero dependents means no community backstop and no security response.
  • Laravel/Eloquent stack. Wrong ecosystem; use Laravel-native soft deletes, timestamps, and slug packages instead.
  • You need maintained alternatives. gedmo/doctrine-extensions and knplabs/doctrine-behaviors are the mature, widely used options for the same behaviors on Doctrine and are the correct comparison set in a buy-vs-build memo.
  • Compliance or audit requirements. An audit trail backed by an unmaintained dependency is a finding waiting to happen in a security review.
  • You only need one behavior. Writing a single Timestampable listener is small; the bundle's value is consolidation, and that value disappears at low usage.

How to Pitch It (Stakeholders)

To executives: This is a small, free, MIT-licensed PHP library that automates routine database bookkeeping — timestamps, "last edited by," URL slugs, soft deletes, category trees. It is not a strategic bet: it has been archived since 2018, has no users of record, and receives no updates. I am not recommending we adopt it. I am recommending we recognize the pattern it represents and either use a maintained equivalent or write the equivalent ourselves, because our roadmap has at least one feature (audit trail / slug generation / reversible delete) that falls squarely in this space.

To engineering: Treat this as a reference implementation, not a dependency. The behaviors it wraps are commodity — most teams should use gedmo/doctrine-extensions or knplabs/doctrine-behaviors, or write thin Doctrine event listeners. If we do fork anything, the cost is real: no upstream patches, no security response, and it becomes a named blocker in our next Symfony upgrade. Also note the naming mismatch — this is a Symfony/Doctrine bundle, so any Laravel-side plan needs a different answer entirely.

Bottom line: low adoption risk if treated as a pattern to copy; high maintenance and compliance risk if treated as a dependency. Recommendation: do not adopt; reuse the idea.

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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource