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 Addons Laravel Package

vrok/doctrine-addons

A collection of addons for Doctrine ORM, bundling practical extensions and integrations that streamline entity management, query building, and framework glue for PHP applications. Drop-in helpers reduce boilerplate so you can get more from Doctrine with less configuration.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy on entity "behavior" plumbing. Packages in this category (timestampable, blameable/auditable, soft-delete, slug, sortable, versioned) represent recurring, low-differentiation work. This package is a candidate shortcut that lets the team spend roadmap capacity on product logic instead of re-implementing lifecycle hooks and Doctrine event subscribers.
  • Domain model convention standardization. If we adopt even a subset (created/updated timestamps, soft delete, audit attribution), it sets a house style for every entity we ship — a decision that is cheap now and expensive to retrofit later.
  • Audit and compliance roadmap. Blameable/auditable behavior is a direct enabler for "who changed this record" requirements that show up in B2B procurement, SOC 2 readiness, and customer security questionnaires. That's a roadmap accelerator, not just a code convenience.
  • De-risking a framework decision. We're evaluating whether a Doctrine-based persistence layer is viable for our Laravel-flavored stack. This package (and what it doesn't cover) is a cheap probe into how much glue we'd own versus inherit.
  • Vendor/fork optionality. MIT license plus a small surface area means a fork is a realistic fallback if the upstream stalls — which changes the risk calculus for adoption from "dependency" to "vendored snippet."

When to Consider This Package

Adopt only when most of the following hold:

  • We are already committed to Doctrine ORM in this codebase (this is a Doctrine addon; it contributes nothing to an Eloquent-first Laravel app).
  • We need one or two specific behaviors, not a full extension suite — the value is in a thin, readable implementation we can audit in an afternoon.
  • The team can accept a single-maintainer, zero-dependent dependency. With 0 stars and 0 dependents there is no community backstop: no Stack Overflow corpus, no third-party bug reports, no de facto integration testing.
  • We are willing to pin the version, vendor the code, or fork on day one, and to own upgrades ourselves.
  • The feature is internal or low-blast-radius — not on a payment, auth, or data-retention critical path.

Look elsewhere when:

  • We need a support contract, SLA, or security disclosure process. None is plausible here.
  • We need proven behavior under scale or across Doctrine major versions. Unproven upgrade compatibility is the most likely long-term tax.
  • Symfony or general Doctrine shops should prefer the mature, widely deployed DoctrineExtensions/Gedmo family, or first-party framework bundles — the ecosystem support is the whole point.
  • Laravel-first teams should default to Eloquent traits and first-party model helpers; adding Doctrine solely to consume this package is a stack decision this dependency cannot justify.
  • Any compliance-scoped audit requirement where we must demonstrate that audit logging is correct and maintained — write it ourselves with tests we control.

Verdict: Do not adopt as a core dependency. Run a short timeboxed spike (≤ 2 days) to mine the implementation for patterns, then either vendor the specific behavior we need or build it in-house. Revisit only if the project shows sustained releases, external dependents, and a second maintainer.

How to Pitch It (Stakeholders)

Executive summary: This is a small, MIT-licensed addon that provides common Doctrine ORM entity behaviors — timestamps, audit attribution, soft deletes — the kind of plumbing every data-heavy product needs and nobody wants to pay to build twice. Cost is effectively zero and the license is permissive, so the upside is a few weeks of engineering time saved.

The caveat is maturity. It has zero stars, zero downstream dependents, and a single maintainer — meaning no community safety net, no external bug reports, and no realistic support guarantee. Our recommendation is therefore deliberately modest: use it as a reference implementation and a two-day spike, not as an installed dependency. We should either vendor the handful of behaviors we actually need or implement them ourselves with our own test coverage, which costs marginally more and removes the maintenance and supply-chain risk entirely.

For engineering: Treat this as a pattern library. Read it, extract what's useful, and take ownership of the code you keep. Do not add it to composer.json on a critical path without a fork plan and version pin in place.

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.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource