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

Sonata Gedmo Doctrine Extensions Bundle Laravel Package

presta/sonata-gedmo-doctrine-extensions-bundle

A Symfony bundle that integrates Gedmo Doctrine extensions with Sonata Admin, adding ready-made admin extensions and form types for timestampable, sluggable, sortable, tree, translatable, and soft-delete behavior—so you can manage Gedmo-powered entities directly from your Sonata panels with minimal...

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit: presta/sonata-gedmo-doctrine-extensions-bundle is a thin legacy integration bundle between Gedmo DoctrineExtensions and Sonata Admin. Its likely value is wiring Gedmo behaviors such as timestampable, blameable, sluggable, tree, and soft-delete into Sonata Admin forms and CRUD screens. That fit is narrow: it is appropriate only for an existing Symfony + Sonata Admin + Doctrine application already using Gedmo, not for a modern Symfony Flex application or a greenfield admin stack.

Integration feasibility: Feasibility is low as a direct dependency. The package is archived, has 2 stars, 0 dependents, and a very low score. That is a strong signal of abandonment and low ecosystem validation. A TPM should assume no upstream fixes, no security response, and no compatibility work for current PHP/Symfony/Sonata versions. Any integration would likely require forking, dependency pinning, or extracting the small amount of useful wiring into application code.

Technical risk: High. Key risks include stale Composer constraints, incompatibility with current Symfony and Sonata Admin releases, abandoned transitive dependencies, security exposure from unmaintained code, and unclear behavior around Gedmo listeners and Sonata admin forms. Soft-delete and blameable behaviors are operationally sensitive because they affect data visibility, auditing, and delete semantics. The bundle may also rely on annotations or legacy configuration patterns that conflict with modern attribute-based Doctrine mapping.

Key questions:

  • Which Symfony, Sonata Admin, Doctrine, Gedmo, and PHP versions are targeted?
  • Which Gedmo features are actually needed: timestampable, blameable, sluggable, soft-delete, tree, translatable, or other?
  • Can the required behavior be implemented directly with maintained Gedmo packages and custom Sonata admin extensions instead of this bundle?
  • Is the repository license compatible with a fork or internal copy?
  • What is the cost to own, patch, test, and eventually replace the bundle?
  • Are there maintained alternatives or current Sonata/Gedmo integration patterns that remove the need for this package?

Integration Approach

Stack fit: Only consider this package if the application is already on a legacy Symfony/Sonata stack that matches the bundle’s historical dependency range. Do not introduce it into a new platform, a Symfony Flex application, or a system expected to upgrade to current Symfony/Sonata versions. If the only need is Gedmo behavior in Doctrine, use maintained Gedmo/Doctrine integration directly. If the only need is Sonata Admin form support, implement a small internal admin extension.

Migration path: Treat the package as reference material, not a runtime dependency. Inventory the Gedmo behaviors currently used or required, then map each to a maintained DoctrineExtensions package or application-level implementation. If a legacy system already depends on the bundle, fork it internally, pin exact versions, add tests around admin CRUD, soft-delete, slug generation, timestamping, and blameable fields, then replace it feature by feature. For greenfield work, skip the bundle and build the minimal Sonata Admin wiring in-house.

Compatibility: Validate Composer constraints before any proof of concept. Expect the package to target old PHP, Symfony, Sonata Admin, Doctrine, and Gedmo versions. Check whether it uses annotations versus attributes, deprecated event listeners, or legacy service definitions. Confirm compatibility with the application’s Doctrine mapping strategy, admin form types, security context for blameable fields, and soft-delete query filters. A dependency resolution failure or admin regression is likely unless versions are tightly pinned.

Sequencing:

  1. Confirm the exact Symfony, Sonata Admin, Doctrine, Gedmo, and PHP versions in the target application.
  2. Identify the specific Gedmo features and Sonata Admin screens that require integration.
  3. Run a time-boxed proof of concept in an isolated branch with pinned dependencies.
  4. Perform a security and license review of the archived code and its transitive dependencies.
  5. Compare against direct Gedmo configuration plus custom Sonata Admin extensions.
  6. If proceeding, fork and own the integration, add automated tests, and document the replacement path.
  7. Migrate one entity or admin screen at a time, validating CRUD, soft-delete, slug, timestamp, and audit behavior.
  8. Remove the package once equivalent maintained behavior is in place.

Operational Impact

Maintenance: The package is archived and effectively unmaintained. Any production use implies internal ownership: patching, dependency updates, security review, and compatibility work. With 0 dependents and 2 stars, there is little community evidence that the integration is battle-tested. A TPM should budget for a fork or replacement rather than assuming vendor support.

Support: There is no active upstream support path. Incidents will fall to the internal team. Documentation is likely sparse and tied to old Symfony/Sonata conventions. The team will need to understand both Gedmo listener behavior and Sonata Admin extension points to debug issues.

Scaling: The bundle itself is unlikely to be a throughput bottleneck, but Gedmo listeners can affect write performance and soft-delete filters can complicate queries and reporting. Blameable behavior depends on security context and may fail in CLI, queue, or background-job contexts. Sluggable behavior can create uniqueness conflicts under concurrency. Admin screens may expose performance issues if tree or translation features are used without careful query design.

Failure modes: Common failure modes include Composer dependency conflicts, broken Sonata Admin forms, missing service registration, listener recursion, soft-deleted records appearing or disappearing unexpectedly, slug collisions, incorrect blame attribution in non-HTTP contexts, timestamp timezone inconsistencies, and upgrade dead ends. Because the package is archived, a failure may require an immediate internal fork rather than waiting for an upstream fix.

Ramp-up: Initial ramp-up may look small because the bundle is thin, but the real cost is legacy stack knowledge: Sonata Admin internals, Doctrine event listeners, Gedmo behavior, and old Symfony service configuration. For a modern team, that ramp-up is disproportionate to the value delivered. The safer TPM recommendation is to avoid direct adoption, use the repository only as a reference, and allocate effort to maintained Gedmo configuration plus application-owned Sonata Admin integration.

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