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
- Host: GitHub
- URL: https://github.com/php-ffi/proxy
- Owner: php-ffi
- License: mit
- Created: 2021-08-21T10:30:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-14T16:07:55.000Z (over 1 year ago)
- Last Synced: 2024-09-15T17:25:06.209Z (over 1 year ago)
- Topics: ffi, ffi-wrapper, php, proxy
- Language: PHP
- Homepage:
- Size: 18.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# FFI Proxy
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('...');
}
}
```