Weave Code
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

Proxy Manager Lts Laravel Package

friendsofphp/proxy-manager-lts

Long-term support fork of ProxyManager for PHP. Generates lazy-loading, access-interceptor, and value-holder proxies for dependency injection, caching, and AOP-style patterns. Works with modern PHP and frameworks to optimize object creation and performance.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables implementation of lazy loading for high-impact services (e.g., database-heavy entities) to reduce initial load times and memory usage, directly improving scalability and user experience.
  • Supports safe adoption of advanced patterns (virtual proxies, interception) without refactoring existing DI container configurations or service definitions, reducing technical debt in legacy systems.
  • Provides a "buy" solution for runtime proxy generation, eliminating the need to build/maintain custom proxy logic in-house—critical for long-term supported applications where stability is non-negotiable.
  • Aligns with roadmap priorities for performance optimization in DI-centric projects, especially where deferred initialization is needed for third-party integrations or complex workflows.

When to Consider This Package

  • Adopt when:
    • Your project uses a dependency injection container (Symfony, Laravel, etc.) and requires deferred initialization of heavy services or cross-cutting concerns (e.g., security checks, logging).
    • Maintaining legacy codebases where modifying core service classes is impractical but performance improvements are needed.
    • Needing a stable, long-term supported solution for proxy generation without frequent breaking changes.
  • Avoid when:
    • Your application doesn't use dependency injection (proxies are less relevant without DI).
    • You're building a greenfield project where modern PHP 8.1+ features (e.g., native attributes for lazy loading) or
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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport