Skip to content

Update shivammathur/setup-php action to v2.37.1#6

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shivammathur-setup-php-2.x
Open

Update shivammathur/setup-php action to v2.37.1#6
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/shivammathur-setup-php-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 18, 2025

This PR contains the following updates:

Package Type Update Change
shivammathur/setup-php action minor 2.35.42.37.1

Release Notes

shivammathur/setup-php (shivammathur/setup-php)

v2.37.1

Compare Source

Changelog
Security Updates

[!NOTE]
This can affect workflows that pass values from users or pull requests to setup-php, for example from comments, dispatch inputs, PR titles/branches, generated matrices, or files such as .php-version and composer.json.
Be especially careful with pull_request_target workflows that use any value from the pull request. Workflows that only use fixed trusted values are not expected to be affected, but updating to 2.37.1 is recommended.

[!NOTE]
This only affects workflows where the composer version is pinned like composer:2.9.7, workflows that do not pin the version or use composer:v2 are not affected as those get automatic updates. In case you pin the version, it is highly recommended to upgrade and have automation to do such timely upgrades in your workflows.

Fixes and Improvements
  • Fixed support for phalcon on Windows.

  • Fixed restoring tools when using cached using previous runs.

  • Improved enabling gearman extension on Linux.

  • Fixed fallback when installing PhpManager and VcRedist modules on Windows.

  • Fixed parsing extension inputs with backslash line continuation.

  • Improved workflow examples

    • Added workflow examples for Drupal 11 composer-managed projects and WordPress plugins.
    • Added workflow examples for Yii3 web applications and replaced Yii2 Starter Kit examples.
    • Updated workflow examples to use currently supported PHP versions.
  • Updated OS release mappings for newer Ubuntu releases.

  • Updated internal workflows for Codecov v6 and NPM trusted publishing.

  • Updated Node.js dependencies.

  • Fixed composer version in README. (#​1081)

Thanks @​Pyker for the contribution

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

Follow for updates

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

v2.37.0

Compare Source

Changelog
  • Updated the action to use Node.js 24. (#​1049)

  • Added support for master in the php-version input. It should now set up a nightly build from the master branch of php-src.

  • Added support to install ioncube and zephir_parser extensions on PHP 8.5.

  • Expanded support for installing extensions using Homebrew on macOS from the shivammathur/homebrew-extensions tap. This includes pdo_firebird, sqlsrv, pdo_sqlsrv, pecl_http, swow, xhprof, and several other supported extensions.

  • Improved switching PHP versions on Linux. Missing alternatives should now be registered automatically before switching versions. #​1067

  • Improved support for Homebrew on macOS. It should now retry stuck brew commands with an inactivity watchdog.

  • Improved support for adding tools. It should now correctly use the latest release download URL when a version is not specified. (#​1064)

  • Improved tool setup and caching on self-hosted runners.

  • Improved support for sqlsrv and pdo_sqlsrv on PHP 8.1 and 8.2.

  • Fixed installing pecl_http on Windows. Switched to downloads.php.net for fixing ICU version post install.

  • Fixed cached couchbase installs on macOS using the shivammathur/cache-extensions action.

  • Replaced @actions/core with local functions to reduce bundle size.

  • Refactored to use ES2024+ features for Node 24.

  • Updated actions used in examples to their latest versions.

  • Updated Node.js dependencies.

Thanks @​theluckystrike for the contribution 🎉

Thanks @​code-kudu, @​ssddanbrown, @​RoundingWell, and @​ntzrbtr for the sponsorship ❤️

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

Follow for updates

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

v2.36.0

Compare Source

Changelog
  • Added support for PHP 8.5 stable release.
- name: Setup PHP 8.5 (stable)
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
  • Added support for PHP 8.6.0-dev. Specifying 8.6 in the php-version input should now set up a nightly build from the master branch of php-src. (#​1002)
- name: Setup PHP 8.6.0-dev
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.6'
  • Added support for pdo_ibm and ibm_db2 extensions.
- name: Setup PHP with pdo_ibm and ibm_db2 extensions
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    extensions: pdo_ibm, ibm_db2
  • Added support to install blackfire extension on PHP 8.5.
- name: Setup PHP with blackfire extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    extensions: blackfire
  • Improved support to detect the required libraries when building from source for common extensions. For example installing gnupg from source would install the required libgpgme library automatically. (#​1021)
- name: Setup PHP with amqp extension
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    extensions: gnupg-1.5.4
  • Improved support for symfony-cli. It should now correctly set up the requested version. (#​1008)
- name: Setup PHP with symfony-cli
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.5'
    tools: symfony-cli:5.16.0
  • Improved support for relay extension. Also added support to install the nightly version of the extension. (#​1011, #​1012)

  • Improved installing PHP on macOS. Also fixed installing PHP on macos-15-intel GitHub runner. (#​1029)

  • Improved support for deb822 format sources files on Linux. It should now set up the sources files in deb822 format on Ubuntu 24.04, Debian 13, and newer. It would automatically switch the format as well for the repositories added by the action to the new format when supported. (#​1027)

  • Improved support for installing pdo_oci. (#​1028)

  • Fixed installing gearman extension for PHP 5.6 and 7.0 on Linux.

  • Fixed an edge case in tools setup to fall back to the latest version. (#​1024)

  • Fixed support to build extensions with uppercase names from PECL. (#​1017)

  • Fixed warning on redis setup on macOS after formula rename. (shivammathur/homebrew-extensions#5413)

  • Fixed fallback link for composer setup. (#​1025)

  • Updated the link for flex documentation in README. (#​1020)

  • Updated Node.js dependencies.

Thanks @​shyim, @​tillkruss, and @​nicolas-grekas for the contributions 🎉

Thanks @​JetBrainsOfficial and @​cachewerk for the sponsorship ❤️

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

Follow for updates

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

v2.35.5

Compare Source

Changelog

  • Added support for macOS 26 based environments.
runs-on: macos-26
steps:
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  • Fixed resolving tools' releases to the latest one for a version prefix in tools input. (#​1000)
    For example, this should install the latest release of PHPUnit with 10.5 as the prefix.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
    tools: phpunit:10.5.x
  • Improved installing intl extension with a particular ICU versions.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    extensions: intl-77.1
  • Fixed tools setup to use the new github-token input value to avoid rate limits.
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    tools: phpcs: 4
    github-token: ${{ secrets.GITHUB_TOKEN }}
  • Improved errors when tools fail to install. (#​991)

  • Fixed warning in get function on request failure.

  • Added a fallback source for composer phar archives. (#​956)

  • Added a fallback source for PPA keys. (#​996)

  • Fixed opcache.jit_buffer_size config on arm environments. (#​999)

  • Updated Node.js dependencies.

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

Follow for updates

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


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot changed the title Update shivammathur/setup-php action to v2.35.5 Update shivammathur/setup-php action to v2.36.0 Nov 26, 2025
@renovate renovate Bot force-pushed the renovate/shivammathur-setup-php-2.x branch 2 times, most recently from 8f2f0e1 to a59f132 Compare November 26, 2025 19:57
@renovate renovate Bot changed the title Update shivammathur/setup-php action to v2.36.0 Update shivammathur/setup-php action to v2.37.0 Mar 15, 2026
@renovate renovate Bot force-pushed the renovate/shivammathur-setup-php-2.x branch from a59f132 to fc86f55 Compare March 15, 2026 16:35
@renovate renovate Bot force-pushed the renovate/shivammathur-setup-php-2.x branch from fc86f55 to dc2b4ea Compare April 21, 2026 18:49
@renovate renovate Bot changed the title Update shivammathur/setup-php action to v2.37.0 Update shivammathur/setup-php action to v2.37.1 May 14, 2026
@renovate renovate Bot force-pushed the renovate/shivammathur-setup-php-2.x branch from dc2b4ea to f178bb9 Compare May 14, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants