Download Latest Version 2.34.1 source code.tar.gz (319.9 kB)
Email in envelope

Get an email when there's a new version of Setup PHP in GitHub Actions

Home / 2.34.0
Name Modified Size InfoDownloads / Week
Parent folder
2.34.0 source code.tar.gz 2025-06-10 308.3 kB
2.34.0 source code.zip 2025-06-10 371.2 kB
README.md 2025-06-10 2.6 kB
Totals: 3 Items   682.1 kB 0

Changelog

  • Added support for pie. (#948)

    :::yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.4' tools: pie

  • Added support to allow composer plugins by specifying the list of plugins in COMPOSER_ALLOW_PLUGINS env.

    :::yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.4' env: COMPOSER_ALLOW_PLUGINS: composer/installers, composer/satis

  • Added fallback for fetching the manifest for PHP versions. (#952)

  • Added support to specify tools directory using SETUP_PHP_TOOLS_DIR env. (#943, [#945])

    :::yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.4' env: SETUP_PHP_TOOLS_DIR: /tmp/tools

  • Improved detecting linux self-hosted runners if runner env is not specified. (#947)

  • Improved locking mechanism while fetching files on self-hosted runners.

  • Dropped support for using dependency files in shivammathur/extension tap.

  • Fixed errors on macOS regarding missing taps.

  • Fixed logic to fail on first error in extension setup from source. (#951)

  • Fixed error about missing self_hosted_helper function on macOS.

  • Fixed installing hiredis on macOS during relay setup.

  • Fixed the file name of the sources list to match the name used by apt-add-repository. (#953)

    :::yml - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: '8.4' extensions: relay

  • Updated Node.js dependencies.

Thanks @alcaeus, @JMoodyFWD, and @cmb69 for the contributions 🎉

For the complete list of changes, please refer to the Full Changelog

Follow for updates

setup-php reddit setup-php twitter setup-php status

Full Changelog: https://github.com/shivammathur/setup-php/compare/2.33.0...2.34.0

Source: README.md, updated 2025-06-10