An open API service indexing awesome lists of open source software.

https://github.com/php-ffi/proxy

PHP FFI Proxy
https://github.com/php-ffi/proxy

ffi ffi-wrapper php proxy

Last synced: 9 months ago
JSON representation

PHP FFI Proxy

Awesome Lists containing this project

README

          

# FFI Proxy


PHP 8.1+
Latest Stable Version
Latest Unstable Version
Total Downloads
License MIT




A set of classes for creating FFI proxies.

## Requirements

- PHP >= 7.4
- ext-ffi

## Installation

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

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

## Usage

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