A set of classes for creating FFI proxies.
- PHP >= 7.4
- ext-ffi
Library is available as composer repository and can be installed using the following command in a root of your project.
$ composer require ffi/proxy
class Example extends FFI\Proxy\Proxy
{
public function __construct()
{
$this->ffi = \FFI::cdef('...');
}
}