Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.38 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.38 KB

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.

$ composer require ffi/proxy

Usage

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