Skip to content
Compare
Choose a tag to compare
@shivammathur shivammathur released this 19 Jul 11:53
945c34c

Support Ukraine

#StandWithUkraine


  • Added support for Laravel Pint #613, #614
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: `8.1`
    tools: pint
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: `8.1`
    extensions: phalcon5
  • Added support for Private Packagist authentication for composer. Docs
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
  env:
    PACKAGIST_TOKEN: ${{ secrets.PACKAGIST_TOKEN }}
  • Added support for manual JSON-based authentication for composer Docs
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
  env:
    COMPOSER_AUTH_JSON: |
      {
        "http-basic": {
          "example.org": {
            "username": "${{ secrets.EXAMPLE_ORG_USERNAME }}",
            "password": "${{ secrets.EXAMPLE_ORG_PASSWORD }}"
          }
        }
      }
  • Deprecated COMPOSER_TOKEN in favor of GITHUB_TOKEN. Docs
- name: Setup PHP
  uses: shivammathur/setup-php@v2
  with:
    php-version: '8.1'
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  • Updated Node.js dependencies.

Thanks! @phpstan for the sponsorship ❤️

Thanks! @d8vjork and @ChristophWurst for the contributions 🎉

Follow for updates

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