Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 25 Nov 19:25
da0e854

This release is possible because of our sponsors. So, if your company uses setup-php, please ask them to sponsor my work.

Sponsor shivammathur


  • PHP 8.1 is now stable (8.1.0) and marked as the latest version. 馃コ
- name: Setup PHP 8.1
  uses: shivammathur/setup-php@v2
  with:
    php-version: latest
  • PHP 7.3 to PHP 8.1 packages have been updated to 7.3.33, 7.4.26, 8.0.13, and 8.1.0 respectively. Set the update environment variable to true for always updating to the latest patch version.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  env:
    update: true
  with:
    php-version: '8.0'
  • PHP 5.6 to 7.2 have been rebuilt with patch for CVE-2021-21707 backported from PHP 7.3.33.

  • Add support for ICU-70.1 based intl extension for PHP 5.6 and above. shivammathur/icu-intl#2

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 7.4
    extensions: intl-70.1
  • Add support for mailparse and xlswriter extensions on macOS using shivammathur/extensions tap.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: 7.4
    extensions: mailparse, xlswriter
  • Fix upgrading nightly versions on self-hosted runners. Now PHP 8.2 will update to the latest build when the update environment variable is set to true.
  • Fix support for brew extensions with different package and extension name.
  • Fix support for Imagick extension on Windows. #528
  • Fix error while Blackfire configuration file is opened in tool's set up on Linux.
  • Fix extension support to install extension packages from ppa:ondrej/php in php-builder builds.
  • Fix dependency support in self-hosted macOS.
  • Fix to only copy problem-matchers configs to RUNNER_TOOL_CACHE.
  • Fix support for Phalcon extension.
  • Fix CA certificate issues on windows. #511, #517
  • Fix to suppress error when extensions are cached on Windows.
  • Log error when wrong Xdebug version is requested as coverage driver for a PHP version. #519
  • Add patch to support self-hosted environments on Debian 12 or distributions based on it.
  • Add action to limit outbound requests to known endpoints in node workflow.
  • Add links for all tools in the README. #518
  • Add workflow to publish to NPM and GitHub packages. #513
  • Use jest.each for extensions and install modules' tests. #514, #516,
  • Update Node.js dependencies.

Thanks! @jrfnl, @jderusse, and @aneeshrelan for the contributions 馃殌

Follow for updates

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