jeremylivingston / core-proxies
Proxy implementations of core PHP classes
Requires
- php: >=5.0.5
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-08-25 00:50:55 UTC
README
CoreProxies is a generic library that provides proxy implementations for core PHP libraries.
PHP's Reflection implementation is unable to read certain information about core PHP classes. This library provides a mirrored implementation of core classes that can be used by Reflection to obtain metadata.
A practical example would be if you are attempting to inject a lazy-loaded proxy class of SoapClient to catch connection
exceptions. Since proxying the core SoapClient class will not work, you can instead proxy CoreProxies\Proxy\SoapClient
and successfully generate your implementation.