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 Laravel Package

ocramius/proxy-manager

ProxyManager generates and manages PHP proxy classes (virtual proxies, lazy-loading value holders, etc.) to implement the Proxy Pattern. Useful for lazy-loading, interceptors, and advanced DI/ORM scenarios. Install via Composer and use factory helpers to create proxies.

View on GitHub
Deep Wiki
Context7
2.14.1

Release Notes for 2.14.1

2.14.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.13.1

Release Notes for 2.13.1

2.13.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.12.1

Release Notes for 2.12.1

2.12.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.11.2

Release Notes for 2.11.2

2.11.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.10.2

Release Notes for 2.10.2

2.10.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.9.2

Release Notes for 2.9.2

2.9.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.8.2

Release Notes for 2.8.2

2.8.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.7.2

Release Notes for 2.7.2

2.7.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.6.2

Release Notes for 2.6.2

2.6.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.5.3

Release Notes for 2.5.3

2.5.3

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.4.1

Release Notes for 2.4.1

2.4.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.3.2

Release Notes for 2.3.2

2.3.2

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.2.4

Release Notes for 2.2.4

2.2.4

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.13.0

Release Notes for 2.13.0

2.13.0

  • Total issues resolved: 1
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.11.1

Release Notes for 2.11.1

2.11.1

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

docs

2.10.0

Release Notes for 2.10.0

2.10.0

  • Total issues resolved: 0
  • Total pull requests resolved: 1
  • Total contributors: 1

enhancement

2.9.1

Release 2.9.1

2.9.1

  • Total issues resolved: 0
  • Total pull requests resolved: 2
  • Total contributors: 2

enhancement

bug

2.9.0

Hourly build

This release upgrades ocramius/proxy-manager to use composer-runtime-api:^2: this means that you will need composer:^2 to install this version of ProxyManager.

In order to upgrade to composer v2, you can run composer self-update --2 on your development or CI/CD system.

In addition to that, few notable improvements:

  • the ocramius/package-versions dependency has been replaced by composer-runtime-api
  • testing and static analysis have been noticeably improved, making it easier for others to contribute to the project.

Total issues resolved: 9

2.8.1

This release removes compatibility with ocramius/package-versions:^1.10.0, which will be restored in ocramius/proxy-manager:^2.9.0 and newer.

Due to a change in ocramius/package-versions internals, and my own mistake in not detecting that PackageVersions\Versions::VERSIONS was marked as [@internal](https://github.com/internal) (note: annotations on constants are not really picked up by reflection, and therefore not by static analysis tools either), we had a pretty abrupt crash when upgrading to ocramius/package-versions:1.10.0.

In practice, PackageVersions\Versions::VERSIONS is hashed in order to prefix the name of generated proxy classes, therefore ensuring that no proxy classes would be re-used when underlying dependency versions change: while this design worked really well, it relied on accessing the PackageVersions\Versions::VERSIONS constant, which was never part of the ocramius/package-versions API, and which was removed in an internal refactoring of ocramius/package-versions:1.10.0.

This change is only in place to prevent installation of ocramius/package-versions:1.10.0, while a subsequent patch will be made to phase out said package, to be replaced with direct usage of composer-runtime-api:^2, which comes with composer 2.x.

Total issues resolved: 2

2.8.0

Build Status

This release fixes compatibility with PHP 7.4.1 and newer, since PHP introduced a major backwards compatibility break in a patch release, rendering lazy-loading of typed properties completely non-functioning (see bug 79373 "uninitialized typed property cannot accessed in __get magic method").

Types for closures in proxy factories have also been improved, and some purity type markers were added to some library internals.

Total issues resolved: 16

2.7.1

This release REMOVES support for PHP 7.4.1 and newer, since PHP introduced a major backwards compatibility break in a patch release, rendering lazy-loading of typed properties completely non-functioning (see bug 79373 "uninitialized typed property cannot accessed in __get magic method").

Please upgrade to 2.8.x ASAP: this release is only here to raise awareness of the issue in the 2.7.x series, and to make auto-update tooling notice it.

While ocramius/proxy-manager 2.7.1 is compatible with PHP 7.4.0, PHP 7.4.1 or newer will require ocramius/proxy-manager 2.8.0 or newer to operate correctly.

Total issues resolved: 1

2.7.0

Build Status

This release upgrades dependencies and provides better type inference for proxy factories.

Total issues resolved: 2

2.6.1

Build Status

This release fixes immutability static analysis for internal ProxyManager symbols, which was incorrect due to being performed with an older psalm version.

Support for stream wrappers in combination with the FileLocator also has been corrected, since stream wrappers are inherently incompatible with realpath() from php-src.

Total issues resolved: 3

2.6.0

This release:

  • migrates the project from zendframework/zend-code to laminas/laminas-code
  • integrates with webimpress/safe-writer to better handle atomic proxy file write operations, effectively deferring any race conditions to a third-party package designed just for that.
  • improves type declarations by marking some of ProxyManager's safe internals as [@psalm-immutable](https://github.com/psalm-immutable), integrates the new
  • uses stricter tested dependency sets, reducing the range of possible bugs coming from too wide dependency permutations

Total issues resolved: 40

2.5.2

This release fixes a bug in handling default arguments of remote object proxies, which were not being passed to the remote call adapter.

Total issues resolved: 2

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