ffi / proxy
PHP FFI Proxy
Installs: 10 345
Dependents: 8
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- ext-ffi: *
- symfony/polyfill-php80: ^1.23
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.7
- vimeo/psalm: ^5.4
README
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('...'); } }