PHPackages                             ffi/proxy - 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. ffi/proxy

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

ffi/proxy
=========

PHP FFI Proxy

1.0.3(1y ago)513.1k↑50%6MITPHPPHP ^7.4|^8.0CI passing

Since Nov 3Pushed 1y ago1 watchersCompare

[ Source](https://github.com/php-ffi/proxy)[ Packagist](https://packagist.org/packages/ffi/proxy)[ RSS](/packages/ffi-proxy/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (7)Used By (6)

FFI Proxy
=========

[](#ffi-proxy)

 [![PHP 8.1+](https://camo.githubusercontent.com/cd0d937f6c8022076cdfd04222798c753d801d7775cceef0668b68d45f91c6e1/68747470733a2f2f706f7365722e707567782e6f72672f6666692f70726f78792f726571756972652f7068703f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/ffi/proxy) [![Latest Stable Version](https://camo.githubusercontent.com/132eda7e5c5782e8bf72ac391225f8f499b8b5656a367a9eea065435b4f257e4/68747470733a2f2f706f7365722e707567782e6f72672f6666692f70726f78792f76657273696f6e3f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/ffi/proxy) [![Latest Unstable Version](https://camo.githubusercontent.com/666ac7b7e4aec43f0d67a81521f1f657e81a2aad82b388d694c3146f43464452/68747470733a2f2f706f7365722e707567782e6f72672f6666692f70726f78792f762f756e737461626c653f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/ffi/proxy) [![Total Downloads](https://camo.githubusercontent.com/da0ae4ee079e771b31a4c698d0a122b061e5156c7d76f42cd6c3dc720af7c39b/68747470733a2f2f706f7365722e707567782e6f72672f6666692f70726f78792f646f776e6c6f6164733f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/ffi/proxy) [![License MIT](https://camo.githubusercontent.com/322e00d4bcd28d74f2bf56bced13eb311d05a4d36d6f0e5cc207bfa7b92d437f/68747470733a2f2f706f7365722e707567782e6f72672f6666692f70726f78792f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](https://raw.githubusercontent.com/php-ffi/proxy/master/LICENSE.md)

 [![](https://github.com/php-ffi/proxy/workflows/build/badge.svg)](https://github.com/php-ffi/proxy/actions)

A set of classes for creating FFI proxies.

Requirements
------------

[](#requirements)

- PHP &gt;= 7.4
- ext-ffi

Installation
------------

[](#installation)

Library is available as composer repository and can be installed using the following command in a root of your project.

```
$ composer require ffi/proxy
```

Usage
-----

[](#usage)

```
class Example extends FFI\Proxy\Proxy
{
    public function __construct()
    {
        $this->ffi = \FFI::cdef('...');
    }
}
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Every ~203 days

Recently: every ~252 days

Total

6

Last Release

642d ago

Major Versions

0.2.0 → 1.0.02021-11-10

PHP version history (2 changes)0.1.0PHP &gt;=7.4

1.0.1PHP ^7.4|^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/150420?v=4)[Ruslan Sharipov](/maintainers/Serafim)[@serafim](https://github.com/serafim)

---

Top Contributors

[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (8 commits)")

---

Tags

ffiffi-wrapperphpproxyproxyffi

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ffi-proxy/health.svg)

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

###  Alternatives

[fideloper/proxy

Set trusted proxies for Laravel

7.3k174.4M559](/packages/fideloper-proxy)[ocramius/proxy-manager

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

5.0k82.4M230](/packages/ocramius-proxy-manager)[symfony/var-exporter

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

2.1k378.1M441](/packages/symfony-var-exporter)[friendsofphp/proxy-manager-lts

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

1.2k139.1M104](/packages/friendsofphp-proxy-manager-lts)[vkartaviy/retry

The library for repeatable and retryable operations

29227.2k2](/packages/vkartaviy-retry)[astrotomic/php-conditional-proxy

This package provides a trait and class to allow calling methods based on a condition without breaking the method chain.

30155.8k5](/packages/astrotomic-php-conditional-proxy)

PHPackages © 2026

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