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

Extensions Laravel Package

laravel-doctrine/extensions

Adds common Doctrine behavioral extensions to Laravel Doctrine, including soft deletes, timestamps, blameable, sortable, sluggable, tree, loggable and more, with config and service provider wiring so these behaviors work smoothly in your Laravel models.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit. laravel-doctrine/extensions is the integration layer that binds Doctrine ORM into Laravel's container, console, auth, validation and pagination subsystems. It is not a standalone ORM — it sits on top of laravel-doctrine/orm and doctrine/orm. Fit is strong for teams that want a data-mapper/unit-of-work model with rich domain entities and DQL-based querying, alongside or instead of Eloquent. It is a poor fit for teams standardized on Eloquent who only want marginally more structure.

Nature of this release. 2.0.3 is a compatibility release. The only listed change is "Laravel v13" support. No new features, no deprecations, and no implied public API change.

Integration feasibility. High but conditional. Because this package is a bridge, "supports Laravel 13" is only actionable if the rest of the chain does too: laravel-doctrine/orm, doctrine/orm, doctrine/dbal, and the metadata/proxy cache layer. Feasibility should be established by resolving constraints in the target application, not by reading the changelog.

Technical risk. Low for the release itself — a single PR, narrow diff, most likely widening illuminate/* constraints plus a CI matrix entry. Moderate for the dependency posture: community-maintained, small maintainer pool, low release cadence, and a history of lagging framework majors. This release is positive evidence the maintainers are keeping pace, but it also means we depend on them doing so every year.

Key questions. What are the exact illuminate/* and PHP constraints in 2.0.3? Does laravel-doctrine/orm already ship an L13-compatible release, and does 2.0.3 require it? Are there conflicts with dbal/doctrine versions already pinned in the app? Is the L13 CI job green and the tag stable? Does the application touch any console or container APIs that this package hooks and that changed in Laravel 13?

Integration Approach

Stack fit. Best fit: PHP 8.3+/Laravel 13 services whose domain layer already expects entities, repositories and an EntityManager. It wires cleanly into Laravel's container and config and coexists with Eloquent in the same app via dual connections. Poor fit where the codebase is heavily Eloquent-idiomatic — two persistence paradigms carry a real cognitive tax.

Migration path. From 2.0.x on Laravel 12: routine patch bump — widen the constraint, composer update, verify. From 1.x or Laravel ≤11: treat as two steps, landing the Laravel upgrade on a branch on the existing package line first, then moving to 2.0.3. Greenfield: adopt 2.0.3 directly; there is no reason to start on the older constraint.

Compatibility. Confirm the full matrix before committing: PHP floor, Laravel 13, laravel-doctrine/orm major, doctrine/orm 2.x vs 3.x (attribute vs annotation mapping), doctrine/dbal, and whichever driver backs metadata/proxy caching. Also verify test suite and static-analysis tooling — these are the usual hidden breakages in bridge packages.

Sequencing. (1) Spike: install 2.0.3 in a throwaway L13 skeleton, boot the EntityManager, run doctrine:schema:validate and one repository query. (2) Pin and document the resolved versions. (3) Migrate in a branch against the app's integration suite. (4) Roll out behind existing connection config; this release implies no data migration. (5) Retire the old pin only after the branch is green, keeping 2.0.2 as the documented rollback.

Operational Impact

Maintenance. Low steady-state effort once landed: the package is thin and stable, and patch releases are infrequent. The real maintenance load is Doctrine itself — mapping discipline, migrations, schema tooling. Budget explicitly for the annual framework-bump coordination; that is the recurring cost, not day-to-day upkeep.

Support. Community/OSS only, with no vendor SLA and issue triage dependent on maintainer availability. For business-critical use, assume the ability to fork or internally patch the bridge — the surface area is small enough that this is genuinely realistic, which materially reduces the support risk.

Scaling. The package is not a scaling bottleneck; it is bootstrapping and wiring. Scaling behavior comes from Doctrine: the unit of work and identity map grow with request scope, so long-running workers (Octane, queue consumers) need explicit clear()/reset handling to avoid memory growth and stale entities. Metadata caching must be enabled in production. Read-heavy paths may need a second-level cache or read models.

Failure modes. Most likely: composer resolution failure on the framework bump — loud, caught in CI. Then: EntityManager not reset in a long-lived worker — quiet, causes memory bloat and stale reads. Then: metadata/proxy cache directory permissions in containerized deploys, and schema drift between mapping and the live database. Strategically, a future Laravel major could leave the app pinned and out of support; this release partially mitigates that risk without eliminating it.

Ramp-up. Easy to install, hard to operate well. Engineers coming from Eloquent need genuine grounding in identity map, unit of work, DQL, lazy loading and proxy semantics — a multi-week ramp, not multi-day. Plan for a named Doctrine-fluent owner, mandatory review on mapping changes, and a written convention for repositories versus query objects before a second service adopts it.

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.
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox