diff options
Diffstat (limited to 'wrappers/php/README.md')
| -rw-r--r-- | wrappers/php/README.md | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/wrappers/php/README.md b/wrappers/php/README.md deleted file mode 100644 index 01e4d3e..0000000 --- a/wrappers/php/README.md +++ /dev/null @@ -1,35 +0,0 @@ -# PHP Wrapper - -## Requirements - -You will need to install [PHP](https://www.php.net/downloads) 7.4 or later. For testing, you can use dependency -manager [Composer](https://getcomposer.org/doc/00-intro.md) to download PHPUnit. - -Activate the [FFI](https://www.php.net/manual/en/ffi.setup.php) extension (Composer will also warn if you do not have it -enabled). - -## Test etc. - -Test (also installs PHPUnit using Composer and builds shared Go library for current platform): - -```shell -make test -``` - -Only build shared library and copy modified C header for the current platform to the right directory: - -```shell -make install-header -``` - -Or for the specified platform: - -```shell -make install-header GOOS=windows GOARCH=amd64 -``` - -When using this library, you will need to make sure that the linker can find the shared Go library. Alternatively, -pass `COPY_LIB=1` to `make install-header` to copy the library over to this folder and load it via this relative path. - -If you do not build this as part of the full repository, specify `EXPORTS_PATH="path/to/exports-folder"` when calling -make. This folder must contain `common.mk` and the `lib/` folder with built libraries and headers. |
