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

Parabol Doctrine Behaviors Bundle Laravel Package

parabol/parabol-doctrine-behaviors-bundle

Symfony bundle that integrates Doctrine behavioral extensions into your entities, automating common persistence logic such as timestamps, blameable user tracking, slugs, and soft deletes so you can drop repetitive boilerplate from your models.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for cross-cutting entity behaviors. Doctrine "behaviors" (timestampable, blameable, sluggable, soft-delete, translatable, loggable, tree/nested-set) are exactly the kind of infrastructure every CRUD-heavy product ends up needing. This package is a candidate input to the question: do we hand-roll these per entity, standardize on one library, or abstract them ourselves?
  • Standardization/consolidation. If the organization has accumulated ad-hoc lifecycle listeners, an "entity behaviors" bundle is a forcing function to converge on one contract (event subscribers, entity interfaces, trait conventions) and shrink duplicated boilerplate across teams.
  • Roadmap sequencing for audit/compliance features. Soft-delete, blameable (who changed what), and loggable behaviors are typically prerequisites for audit trails, GDPR/erasure workflows, and multi-tenant scoping. Choosing a behaviors layer now shapes how cheaply those roadmap items land later.
  • Framework architecture decision. This is a Symfony/Doctrine bundle, not a Laravel/Eloquent package. Its most concrete product value is as evidence in a stack decision: if the team is Laravel-first, this package is out of scope entirely; if a Doctrine-based service is in play, it belongs in the shortlist review.
  • Vendor/OSS dependency policy. A zero-star, zero-dependent package is a useful trigger to test and refine the dependency-adoption checklist itself (maintenance risk, security disclosure path, upgrade cadence), independent of whether it is adopted.
  • Migration/exit-cost modeling. Behaviors are deeply entangled with entity mappings and schema; the PM-relevant question is not "does it work" but "what does it cost to remove in 18 months" — this package makes that cost high with little compensating benefit.

When to Consider This Package

Consider it only under narrow, specific conditions:

  • The service is Symfony with Doctrine ORM, and the team has already decided to adopt a behaviors bundle rather than implement listeners in-house.
  • You are working inside the Parabol ecosystem or already consuming Parabol-authored libraries, so support and coordination are internal rather than community-dependent.
  • You need a bundle-scoped, configurable set of behaviors and have found that the leading alternatives conflict with your Doctrine version, your mapping strategy, or your existing event-subscriber architecture.
  • You intend to fork and vendor it with an owner on your team — i.e., you are treating it as source material, not as a maintained dependency.

Look elsewhere — or build in-house — when:

  • Your stack is Laravel/Eloquent. This package cannot serve that stack; the correct comparisons are Laravel-native packages, model traits, observers, or a soft-deletes/audit package. Evaluating it at all is a category error.
  • The dominant alternatives fit. KnpLabs/DoctrineBehaviors and Gedmo/DoctrineExtensions are the de facto standards: large install bases, years of Doctrine-version coverage, security issue history you can actually read, and Stack Overflow answers. A zero-star package must beat them decisively on a specific axis to justify the risk.
  • You need a support contract, SLA, or disclosed vulnerability process. There is none here; stars, dependents, and score all indicate no community backstop.
  • You need predictable upgrades. Doctrine majors and PHP majors move; a single-maintainer, zero-adoption bundle has no demonstrated cadence for keeping pace, which means your team absorbs that work.
  • Behavior needs are shallow. If you need timestamps and a slug on four entities, write twenty lines of listener code and keep your dependency graph clean.
  • Security or compliance review gates apply. Zero dependents means zero downstream scrutiny; treat it as unreviewed code and budget for an internal audit before it touches production entities.

How to Pitch It (Stakeholders)

For executives (one line): We evaluated this library as part of our "reuse vs. build" review for shared data-layer plumbing; it is a Symfony/Doctrine utility with no adoption and no community, so it is not a candidate for a supported dependency — the decision it informs is which established behaviors library we standardize on, or whether we build a thin in-house layer.

For engineering leadership: This is a Doctrine behaviors bundle from Parabol, offering the usual lifecycle concerns (timestamps, blameable, soft-delete, translatable, loggable). It has zero stars and zero dependents, which we should read as no downstream validation rather than bad code. The strategic question it forces is good: our entity behaviors are currently inconsistent and each one we standardize makes audit trails, soft-delete semantics, and tenant scoping cheaper to deliver. But the answer is almost certainly one of the two established alternatives, or a small internal implementation — not this.

Recommended framing to the business:

  1. The decision we're making is real and worth making — behavior standardization reduces per-feature cost and de-risks audit/compliance work.
  2. This specific package is not the vehicle — it fails our dependency risk test (no maintainers-of-record, no adoption, no disclosure path). Naming that explicitly protects the team from a "we already evaluated that" misread.
  3. Ask for: a short spike comparing the established Doctrine behaviors library against a ~200-line in-house trait/subscriber layer, with an explicit exit-cost estimate. That spike is cheap, and its output is the artifact that should actually drive the roadmap commitment.

Watch-outs to state plainly: confirm the stack first — if the product surface is Laravel/Eloquent, this whole line of evaluation should be closed, and the equivalent Laravel-native question (model traits, observers, soft-delete conventions) is where the team's time belongs.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core