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

Entity Extend Bundle Laravel Package

wucdbm/entity-extend-bundle

Wucdbm EntityExtendBundle is a Symfony bundle for extending Doctrine entities with additional data without modifying their core classes. It helps organize reusable entity extensions, keep domain models clean, and manage custom fields or model add-ons more easily across your application.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Framework-fit triage first. Despite the "Laravel/PHP package" framing, this is a Symfony2 bundle built on Doctrine2. It informs a fast no for a Laravel codebase: Eloquent, not Doctrine, is the default ORM, so the bundle's core value (entity extenders wired through Symfony's DI container) has no place to plug in without dragging in Doctrine plus a container bridge.
  • The "user-defined / custom fields" build-vs-buy question. This bundle sits in the dynamic-entity-extension design space — the same family as JSON columns, EAV tables, and single-table inheritance. Reviewing it sharpens the roadmap decision for the common enterprise feature request "let tenants/admins add fields to our records." The realistic options are: (a) JSON column with a schema registry, (b) EAV table, (c) inheritance-based extension, (d) a maintained third-party package. This artifact informs (c) and gives you a reference implementation to price out.
  • Build-vs-borrow for internal capability. With 0 stars and 0 dependents there is no evidence of production hardening, no issue history to mine, and no community to inherit fixes from. The decision this supports is "read the pattern, write our own" rather than "add a dependency" — the bundle is effectively a code sample with a Composer manifest.
  • Legacy portfolio triage. If any team still runs Symfony2, this is a candidate for a tech-debt line item: Symfony 2.x reached end of life in 2018, so anything depending on it is already outside security-patch coverage. That's an input to a modernization/migration roadmap, not a feature roadmap.
  • Maintenance-cost estimation for a plugin/extension architecture. If the medium-term plan is a marketplace or plugin system where third parties extend core entities, this bundle's approach tells you roughly how much framework coupling such a system imports — useful for scoping the platform team's headcount ask.

When to Consider This Package

Consider it only when all of these hold:

  • You are genuinely on Symfony 2.x with Doctrine2, and the app is in maintenance rather than active feature development.
  • You need runtime entity extension — extra mapped fields driven by configuration or tenant data — and inheritance or a JSON column has been ruled out for reporting/query reasons.
  • You are comfortable owning the code outright: forking, vendoring, and patching it yourself, with no expectation of upstream fixes.
  • Your security posture tolerates an EOL framework for the lifetime of the integration.
  • You've verified the license and provenance from the repository directly — there's nothing in the package metadata here that substitutes for that check.

Look elsewhere when:

  • The stack is Laravel. No Doctrine, no Symfony container; the integration cost exceeds the value of the pattern, and you'd be better served by an Eloquent-native custom-fields package or a JSON-column design.
  • You're on modern Symfony (5/6/7) or PHP 8+. The bundle targets a framework generation two major versions behind current support; expect incompatibilities rather than a clean install.
  • You need SLAs, security advisories, or vendor support. Zero dependents means zero downstream pressure to fix anything.
  • The feature is a small, bounded ask. For a handful of extra fields on one or two models, a JSON column plus a validation schema is cheaper than any inheritance machinery — don't import a pattern to solve a problem a migration solves.
  • You need it to just work out of the box. No docs, no tests, no community answers means the onboarding cost is fully yours.

How to Pitch It (Stakeholders)

To executives: This is a single-author Symfony2 bundle with no adoption — zero stars, zero dependents — targeting a framework version that stopped receiving security patches in 2018. It is not a candidate for adoption; it's a reference design. The recommendation is to spend a small amount of engineering time reading it as prior art for our custom-fields capability, then build a small, owned implementation on our own stack. Net: no new dependency, no new supply-chain risk, no license or support ambiguity, and a clearer answer on the "can customers define their own fields?" roadmap item — which is what stakeholders actually care about.

To engineering: Treat this as documentation, not a dependency. The interesting content is the entity-extension pattern — how it layers additional mapped fields onto base Doctrine entities — and it's worth a two-hour read before we commit to JSON columns vs. EAV vs. inheritance. Do not vendor it. It assumes Symfony2's container and Doctrine2's metadata pipeline, both of which are mismatched with a Laravel/Eloquent codebase, and the single maintainer plus zero dependents means every future patch is ours. If we like the design, port the idea in a few hundred lines on Eloquent and put it behind our own tests. If we're supporting a Symfony2 app, flag it as a tech-debt item in the modernization plan rather than a fix.

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
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource