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

ruvents/doctrine-bundle

A Symfony bundle that integrates Doctrine ORM by registering entity managers, database connections, and mapping configuration. It provides default services and config for Doctrine-backed applications, simplifying persistence setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture fork: Active Record vs. Unit of Work. The one genuinely product-relevant decision this package informs is whether your domain model should be decoupled from Eloquent. If your roadmap includes a rich domain layer, complex invariants across aggregates, or a migration path toward DDD-style boundaries, Doctrine's unit-of-work pattern is a credible alternative — and this bundle is a worked example of wiring it into Laravel (EntityManager, metadata drivers, DQL, custom repositories, Artisan schema/migration commands).
  • Build vs. buy vs. borrow. The honest verdict for a PM: borrow the pattern, don't buy the dependency. The repository is archived, the last release was April 2018, it has a single star, and it never reached 1.0. That is not a vendor relationship; it is a reference implementation you would take ownership of the moment you composer require it. Price the decision as "adopt this codebase in-house," not "add a library."
  • Roadmap enablement (narrow). It unblocks nothing on a modern Laravel roadmap by itself. Its value is as evidence: configuration-driven class resolution, interface-based auto-registration, and framework-decoupled persistence are all patterns your team would otherwise hand-roll. The 0.2.2 release fixed FQCN retrieval — a reminder that even the small plumbing was lightly exercised.
  • Use cases that genuinely fit: teams with existing Doctrine expertise porting a domain model to Laravel; projects where the persistence layer must be swappable or testable without the framework; migrations off a legacy Symfony/Doctrine application; internal tooling where Laravel is the shell and Doctrine owns the model.
  • Use cases that do not fit: CRUD products, admin panels, API backends over a simple schema, or anything where Eloquent's ergonomics are the reason you chose Laravel. The switching cost is real and permanent.
  • Risk signal, and not a differentiator. Archived + pre-1.0 + one star means no security patches, no Laravel 9/10/11 compatibility work, and no community to absorb bugs. This is infrastructure, not product surface — frame it internally as architectural cost, not capability gain.

When to Consider This Package

  • Consider it as a dependency only when all of the following hold: you are on a Laravel version this bundle actually supports (roughly the 5.x era), you have in-house Doctrine experience, you accept that you now maintain the integration, and the Unit of Work pattern is a committed architectural decision rather than an experiment.
  • Consider it as a reference when: you are evaluating Doctrine-on-Laravel and want a concrete, small example of the service provider, config, and metadata-driver wiring before committing to a maintained alternative. Read it, don't depend on it.
  • Do not adopt when: you need semantic-versioning guarantees, security patch coverage, or compatibility with a currently supported Laravel release. Archived repositories do not receive CVEs fixes — for a persistence layer, that is a compliance issue, not a preference.
  • Look elsewhere when: you want Doctrine ORM in modern Laravel — evaluate actively maintained bundles or write a thin, owned service provider over doctrine/orm directly (an integration this small is genuinely a few hundred lines and you control the upgrade path). Stay with Eloquent when your domain is CRUD-shaped; the Active Record trade-off is only worth paying at real domain complexity.
  • Disqualifying signals to weigh explicitly: 1 GitHub star (no production validation to learn from), a 2018 last release, and a public archive flag. Any one of these is survivable; all three together mean the total cost of ownership is "we forked it."

How to Pitch It (Stakeholders)

  • To executives: this is not a vendor we can adopt — the project is archived and unmaintained since 2018. The decision on the table is narrower: should we invest in a Doctrine-style domain layer at all? If yes, budget for owning the integration code ourselves; if no, close the question and stay on Eloquent. Recommend treating this package as a free reference design, spending a short spike to evaluate the pattern, and making an explicit architecture call rather than a dependency call.
  • To engineering: treat the repository as read-only prior art. If we adopt Doctrine, we write and own the service provider — pin nothing to this bundle, and if we do use it, pin the exact version, vendor or fork it, keep it behind a thin internal adapter (a Persistence interface, not direct EntityManager calls in controllers), and add regression tests around FQCN/class resolution, which is the freshly patched area in 0.2.2. Flag the Laravel-version compatibility gap as the first spike task; assume zero upstream fixes and plan the fork before, not after, the first blocking bug.
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