Skip to content

Repository files navigation

setup-php-action

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.

Inputs

NameRequiredPossible valuesDescription
php-versionYESAny version available in altayofficial/PHP-Binaries (currently 8.1 through 8.4)PHP version, as major.minor
install-pathYESFolder pathPath to install the binary into (e.g. ./bin)
pm-version-majorNO4, 5Major version of PocketMine-MP to build extensions for
binaries-repositoryNOAny repository publishing PHP-Binaries releasesWhere to download the binaries from, defaults to altayofficial/PHP-Binaries

About

GitHub Action to setup PHP binaries with extensions needed by PocketMine-MP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages