Download Latest Version 2.35.3 source code.tar.gz (316.6 kB)
Email in envelope

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

Home / 2.35.3
Name Modified Size InfoDownloads / Week
Parent folder
2.35.3 source code.tar.gz 2025-08-10 316.6 kB
2.35.3 source code.zip 2025-08-10 380.9 kB
README.md 2025-08-10 1.5 kB
Totals: 3 Items   698.9 kB 0

Changelog

  • Improved github-token support for GitHub Enterprise. (#981).

For GitHub Enterprise users, the github-token input does not default to the GITHUB_TOKEN secret. Therefore, it's recommended to set the github-token input to a Personal Access Token (PAT).

:::yml
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.4'
    github-token: ${{ secrets.YOUR_PAT_TOKEN }}
  • Fixed support for relay extension for PHP 7.4 on macOS.

  • Updated internal workflows to not run on forks. (#982)

  • Updated Node.js dependencies.

Thanks @jrfnl 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

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