PHPackages                             crashuxx/phproxy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. crashuxx/phproxy

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

crashuxx/phproxy
================

Class proxy

1.0(11y ago)36.0k3BSD-3-ClausePHP

Since Nov 25Pushed 8y ago3 watchersCompare

[ Source](https://github.com/crashuxx/phproxy)[ Packagist](https://packagist.org/packages/crashuxx/phproxy)[ RSS](/packages/crashuxx-phproxy/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

phproxy
=======

[](#phproxy)

Class proxy for php based on [java.lang.reflect.Proxy](https://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Proxy.html). This library is under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).

[![Build Status](https://camo.githubusercontent.com/1efc32557350df2e43507243417151da1f4d808919da20ad218daea7b97444d7/68747470733a2f2f7472617669732d63692e6f72672f63726173687578782f706870726f78792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/crashuxx/phproxy)

PHP &gt;= 5.5 HHVM &gt;= 3.4.0

Usage:

```
use \Reflection\Proxy;

class MyInvocationHandler implements \Reflection\InvocationHandler
{
    /**
     * @param object $proxy
     * @param string $method
     * @param mixed[] $args
     * @return mixed
     */
    function invoke($proxy, $method, $args)
    {
        echo $method;
        return 'my return  value';
    }
}

$proxy = Proxy::newProxyInstance(\stdClass::class, new MyInvocationHandler());
echo $proxy->CustomMethod();
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 94.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4237d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f41da1f5f2079347ec98237889e8e257ff57b8d7f60f0e34ca96154cab22ee9?d=identicon)[crashuxx](/maintainers/crashuxx)

---

Top Contributors

[![crashuxx](https://avatars.githubusercontent.com/u/3309275?v=4)](https://github.com/crashuxx "crashuxx (37 commits)")[![rollenes](https://avatars.githubusercontent.com/u/2633351?v=4)](https://github.com/rollenes "rollenes (2 commits)")

---

Tags

proxyclass

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/crashuxx-phproxy/health.svg)

```
[![Health](https://phpackages.com/badges/crashuxx-phproxy/health.svg)](https://phpackages.com/packages/crashuxx-phproxy)
```

###  Alternatives

[fideloper/proxy

Set trusted proxies for Laravel

7.3k176.5M561](/packages/fideloper-proxy)[ocramius/proxy-manager

A library providing utilities to generate, instantiate and generally operate with Object Proxies

5.0k83.1M242](/packages/ocramius-proxy-manager)[symfony/var-exporter

Provides tools to export, instantiate, hydrate, clone and lazy-load PHP objects

2.1k407.7M750](/packages/symfony-var-exporter)[friendsofphp/proxy-manager-lts

Adding support for a wider range of PHP versions to ocramius/proxy-manager

1.2k147.4M152](/packages/friendsofphp-proxy-manager-lts)[nette/robot-loader

🍀 Nette RobotLoader: high performance and comfortable autoloader that will search and autoload classes within your application.

89955.0M358](/packages/nette-robot-loader)[classpreloader/classpreloader

Helps class loading performance by generating a single PHP file containing all of the autoloaded files for a specific use case

37642.8M32](/packages/classpreloader-classpreloader)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
