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

Service Proxy Bundle Laravel Package

openclassrooms/service-proxy-bundle

A Symfony bundle for creating service proxies in the dependency injection container. It enables lazy initialization and method interception while preserving the original service API, helping defer expensive work without rewriting application code.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy vs. reuse: Informs whether to adopt a third-party bundle for lazy service instantiation and circular-dependency resolution, or rely on native Symfony capabilities. The answer here is overwhelmingly "neither — use the framework."
  • Legacy modernization sequencing: Acts as a flag during technical-debt audits. If this package appears in a dependency graph, it means the codebase predates Symfony's native lazy services (3.3+) and is likely a candidate for a platform upgrade initiative rather than incremental patching.
  • Vendor and dependency risk inventory: Feeds the decision log for "unmaintained dependency" registers — relevant during security reviews, M&A technical due diligence, or SOC2-style third-party risk assessments.
  • Circular dependency remediation strategy: Documents the historical option (proxying services to defer instantiation) versus the modern approach (refactoring boundaries, using setter/interface injection, or lazy: true), so teams don't independently reinvent the same workaround.
  • Retirement / sunset decision: Supports a clear "do not adopt, plan to remove" recommendation, which is itself a product decision worth recording so it isn't re-litigated in the next sprint.

When to Consider This Package

Adopt only under a narrow, unlikely set of conditions:

  • You operate a Symfony 2.x application still in production that cannot be upgraded on the current roadmap, and
  • You have a specific, measured need for lazy service instantiation — typically breaking a circular reference between services or deferring expensive construction — and
  • You are not already using ocramius/proxy-manager directly or an equivalent maintained abstraction.

That is the entire addressable window. The package describes itself as a Symfony2 bundle, has no community signal (no stars, no dependents), and the underlying pattern has been superseded. Symfony 3.3+ introduced lazy: true on service definitions; Symfony 4/5/6/7 handle this natively and via the DI compiler pass. Meanwhile the proxy-manager libraries this bundle depends on are themselves abandoned.

Look elsewhere if:

  • You are on Symfony 3.4 or later — use native lazy: true; there is no gap to fill.
  • You are on Symfony 5/6/7 or PHP 8+ — this is not viable; the bundle targets a framework generation that is end-of-life and unsupported.
  • The real driver is a circular dependency — the durable fix is architectural (refactor, events, interfaces), not a proxying band-aid. Adopting the bundle defers the design conversation without resolving it.
  • Your primary concern is maintainability or security posture — with zero ecosystem signal and no maintenance cadence, you take on ownership of a fork the moment you depend on it.

How to Pitch It (Stakeholders)

For executives: We evaluated openclassrooms/service-proxy-bundle, a small Symfony 2 library that lets applications defer service creation. The recommendation is do not adopt. It serves a framework generation that has been out of support since 2018, and the capability it provided is now built into Symfony itself. There is no community or maintenance signal — no stars, no downstream dependents — which means any adoption converts a shared open-source component into an internally maintained liability.

For engineering leadership: If this package surfaces in an existing dependency graph, treat it as evidence of an unfunded upgrade problem, not a tooling choice. The correct response is to schedule the Symfony upgrade, during which the bundle gets deleted. Until then, keep it frozen — no version bumps, no new usage, no contributions.

The one-line position: Low cost to remove now, rising cost to keep. It is a signal of technical debt, not a solution to 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.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel