jeremylivingston/core-proxies

Proxy implementations of core PHP classes

Installs: 97

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/jeremylivingston/core-proxies

dev-master 2013-08-28 18:38 UTC

This package is not auto-updated.

Last update: 2025-10-06 20:30:00 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.