buildrush/Setup PHP

Fast, reproducible PHP setup with prebuilt bundles

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
php-versionPHP version to set upno8.4
phptsThread safety ('nts' or 'zts'). Only nts bundles are currently published; zts falls back to nts with a warning (or errors under fail-fast: true).nonts
extensionsComma-separated list of PHP extensions to installno
ini-valuesComma-separated list of php.ini values (key=value)no
ini-fileBase ini template ('production' or 'development'). Only 'production' is currently supported; other values emit a warning and are ignored.noproduction
coverageCoverage driver to set up (xdebug, pcov, none)nonone
toolsComma-separated list of tools to installno
updateUpdate pre-installed PHP. No-op under prebuilt bundles; accepted for compatibility with shivammathur/setup-php@v2.nofalse
fail-fastPromote soft fallbacks (e.g. ZTS not available, unsupported tools input) to hard errors.nofalse
php-version-fileFile containing PHP versionno
github-tokenGitHub token for authenticated registry accessno${{ github.token }}
registryOCI artifact store used to fetch PHP and extension bundles. Defaults to ghcr.io/buildrush. Set to oci-layout:<path> to fetch from a local OCI-layout directory (used by local CI). no""
namedescription
php-versionThe installed PHP version