Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 28 Sep 08:19
4c5c122

Setup PHP depends on sponsorships. Maintaining it takes time and money especially with daily builds for upcoming PHP versions. So, if you found it helpful, please support the project.

Sponsor shivammathur


  • PHP 5.6 to 7.2 have been rebuilt with patch for CVE-2021-21706 backported from 7.3.31.

  • PHP 7.3 to PHP 8.0 packages have been updated to 7.3.31, 7.4.24 and 8.0.11 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'
  • Add support for the following tools:

    • phpunit-polyfills #503
    • phpDocumentor or phpdoc #498
    • parallel-lint #500
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.0'
    tools: phpDocumentor, parallel-lint, phpunit-polyfills
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.0'
    extensions: expect, ssh2
  • Fix parsing PHP 8.1 version with both RC and dev suffixes in the semver notation.

  • Fix to get correct php-src git ref for nightly builds.

  • Fix version for extensions in logs when installed using PECL.

  • Fix cache support for extensions with custom support. #496

  • Fix logs for extensions with custom support when cached.

  • Fix PPA setup to add/update list files in /var/lib/apt/lists. #492

  • Fix typo to use correct key for phpunit in tools.functionRecord. #501

  • Replace husky with simple-git-hooks.

  • Cleanup trailing whitespace in README.

  • Fix git command in format NPM script.

  • Update Node.js dependencies.


Thanks @jrfnl for the contributions 🚀

Follow for updates

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