Ocramius/ProxyManager
Ocramius/ProxyManager has 4,936 GitHub stars and 191 forks. GitHot measured 0 stars in 24 hours and -3 in 7 days. Last checked 2026-11-12 19:02 UTC. Last push 2026-11-11.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- -3
- in 15 days
- Mise à jour retardée
- in 1 month
- Mise à jour retardée
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
À propos
🎩✨🌈 OOP Proxy wrappers/utilities - generates and manages proxies of your objects
Outils de développementREADME.md
OriginalProxy Manager
A message to Russian 🇷🇺 people
If you currently live in Russia, please read this message.
Purpose
This library aims to provide abstraction for generating various kinds of proxy classes.

Documentation
You can learn about the proxy pattern and how to use the ProxyManager in the docs.
ocramius/proxy-manager for enterprise
Available as part of the Tidelift Subscription.
The maintainer of ocramius/proxy-manager and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more..
You can also contact the maintainer at [email protected] for looking into issues related to this package in your private projects.
Installation
The suggested installation method is via composer:
php composer.phar require ocramius/proxy-manager
Proxy example
Here's how you build a lazy loadable object with ProxyManager using a Virtual Proxy
$factory = new \ProxyManager\Factory\LazyLoadingValueHolderFactory();
$proxy = $factory->createProxy(
\MyApp\HeavyComplexObject::class,
function (& $wrappedObject, $proxy, $method, $parameters, & $initializer) {
$wrappedObject = new \MyApp\HeavyComplexObject(); // instantiation logic here
$initializer = null; // turning off further lazy initialization
return true; // report success
}
);
$proxy->doFoo();
See the documentation for more supported proxy types and examples.
Explorer des projets similaires
codecrafters-io/build-your-own-x
Maîtrisez la programmation en recréant de zéro vos technologies préférées.
562,275 étoilespublic-apis/public-apis
Une liste collective d'API gratuites
498,681 étoilesmorluto/rea
Rétro-ingénierie de n'importe quoi avec des agents, du comportement des applications jusqu'aux binaires natifs.
456,849 étoilesopenclaw/openclaw
L'IA qui fait vraiment les choses. Tout système d'exploitation, toute plateforme. À la manière du homard. 🦞
394,443 étoiles

