This action installs PHP and Composer for Altay from altayofficial/PHP-Binaries releases.
It is a fork of pmmp/setup-php-action. The only
difference is where the binaries come from: Altay builds its own because the upstream ones are
compiled without ext-ffi, which the NetherNet transport needs. Point binaries-repository back at
pmmp/PHP-Binaries to get the upstream builds.
Currently only supported on Linux, but MacOS and Windows support is planned for the future.
| Name | Required | Possible values | Description |
|---|---|---|---|
php-version |
YES | Any version available in altayofficial/PHP-Binaries (currently 8.1 through 8.4) |
PHP version, as major.minor |
install-path |
YES | Folder path | Path to install the binary into (e.g. ./bin) |
pm-version-major |
NO | 4, 5 |
Major version of PocketMine-MP to build extensions for |
binaries-repository |
NO | Any repository publishing PHP-Binaries releases | Where to download the binaries from, defaults to altayofficial/PHP-Binaries |