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 Extra Bundle Laravel Package

ite/doctrine-extra-bundle

A Symfony bundle that extends Doctrine with extra utilities and integrations for your projects. It packages helpful Doctrine additions into a single installable bundle, making them easy to configure and use alongside your existing Symfony and Doctrine setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for persistence plumbing. This bundle sits squarely in the "glue code" layer of a Doctrine-based stack — the repository helpers, metadata utilities, and configuration defaults that teams normally hand-roll as traits, filters, or DBAL types. The decision it informs is narrow and measurable: do we write roughly a few hundred lines ourselves, or take on a dependency? With 1 star, 0 dependents, and a composite score of 0.005, the defensible answer for anything customer-facing is to write it ourselves.
  • Stack standardization check. It is worth stating plainly for roadmap purposes: this is a Symfony bundle, not a Laravel package. Doctrine ORM is native to Symfony; Laravel's default persistence layer is Eloquent. If our roadmap is Laravel-first, this package is out of scope on architecture alone, independent of code quality. The only scenario where it becomes relevant is if we have deliberately adopted Doctrine inside Laravel via a bridge — which is itself an architecture decision worth escalating, not a package decision.
  • Ecosystem risk budgeting. A 0.005 quality score with zero dependents is a signal about the ecosystem, not a feature assessment. It means nobody has stress-tested this in production, there is no CVE response process to inherit, and no downstream project will surface a breaking change before we do. That constrains any use to internal tooling, spikes, and reference reading.
  • Opportunity triage. The opportunity score of ~20/100 maps to low leverage: there is no strategic upside in adopting it, only marginal time saved on a small utility we could own outright. It should not appear on a roadmap as a dependency, and it should not consume roadmap capacity beyond a timeboxed spike.
  • Reference-implementation input. The genuinely useful PM outcome is as a reading artifact — skim the source to see how an experienced Symfony developer structures Doctrine extensions, then implement the two or three behaviors we actually need in-house against our own conventions. That captures the design benefit with none of the maintenance liability.

When to Consider This Package

Consider it only when all of the following hold:

  • The consuming application is Symfony on Doctrine ORM (or an equivalent Doctrine-native setup) — not a Laravel/Eloquent codebase.
  • The bundle delivers a specific, documented capability we need, verified by reading src/ and the Configuration.php tree rather than the README.
  • The consumer is internal tooling, a back-office admin surface, a spike, or a prototype with no uptime SLA.
  • We are prepared to fork, vendor, and pin it into our monorepo and own it as first-party code — with the upstream license retained and a named owner recorded.
  • The team can review the entire surface area in under a day (the codebase is small enough that this is realistic).
  • Our php, doctrine/orm, doctrine/dbal, and symfony/* constraints resolve against our current lockfile, confirmed before any integration work begins.

Look elsewhere when any of the following hold:

  • Our stack is Laravel/Eloquent. The integration cost — standing up Symfony DI inside Laravel, or rewriting the bundle's registrations as a service provider — exceeds the value by a wide margin. Use native Eloquent casts, scopes, and observers instead.
  • The need is already met by a maintained option: DoctrineBundle, the DoctrineExtensions family, or StofDoctrineExtensionsBundle. Prefer the maintained option even at higher configuration cost.
  • The workload is production, multi-tenant, or compliance-scoped — audit logging, soft deletes, encryption, tenant filtering — where a single defect becomes a data-integrity or regulatory incident rather than a bug ticket.
  • We require vendor support, an SLA, a security disclosure channel, or a guaranteed upgrade path across Doctrine major versions (ORM 2.x → 3.x and DBAL 3.x → 4.x both break types, filters, and listeners).
  • Upgrade cadence matters. With zero dependents, we will be the first to discover every breakage.

How to Pitch It (Stakeholders)

To executives (one paragraph): This is a tiny, effectively unadopted Symfony bundle offering convenience utilities around Doctrine, the ORM used in Symfony applications. It is not a Laravel package and does not fit a Laravel-first roadmap. There is no license cost and no strategic upside — the composite health score is 0.005 with zero downstream dependents, meaning we would be the first team to run it in production. My recommendation is not to add it as a production dependency. If we want the functionality, we copy the relevant patterns into our own codebase: a few engineering days, and it eliminates the maintenance and security exposure entirely. Net, this is a small, low-cost decision that protects us from inheriting an unmaintained dependency.

To engineering (the ask): Treat the repository as a reference, not a dependency. Timebox a one-to-two-day spike: clone it, identify the two or three behaviors we actually need, and reimplement them behind our own abstraction — a repository trait, a DBAL type, or a filter — so no caller ever imports the bundle's namespace. Verify license and provenance and record the upstream commit SHA we read from. If someone still wants it directly, the bar is: fork into our repo, pin the SHA, vendor it, add a smoke test, and record an owner. No transitive dependency on an unmaintained package inside a service with an on-call rotation. And if the underlying ask is "we're running Doctrine inside Laravel," escalate that as an architecture decision — that is the genuinely expensive choice here, not the 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.
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
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect