Skip to content

Conversation

@Ayesh
Copy link
Member

@Ayesh Ayesh commented Oct 26, 2025

Adds support for downloading Windows PHP binaries using winget.

Both TS and NTS builds are now available on microsoft/winget-pkgs[1] repo, and I have been maintaining them for a while now.

When a new PHP release is found, the manifests are automatically1 built and the manifests are attested2. I submit PRs3 after manually checking if everything is in order.

This PR updates the new downloads.php page with winget-specific download instructions.

  • When the Usage field is set to CLI, the winget instructions refer to NTS builds (e.g PHP.PHP.NTS.8.4)
  • Other Usage values use the TS builds (e.g. PHP.PHP.8.4).

Footnotes

  1. https://github.com/PHPWatch/php-winget-manifest/

  2. https://github.com/PHPWatch/php-winget-manifest/attestations

  3. https://github.com/microsoft/winget-pkgs/pulls?q=is%3Apr+%5BPHP%5D

Adds support for downloading Windows PHP binaries using `winget`.

Both TS and NTS builds are now available on `microsoft/winget-pkgs`[1]
repo, and I have been maintaining them for a while now.

When a new PHP release is found, the manifests are automatically[^2]
built and the manifests are attested[^3]. I submit PRs[^4] after
manually checking if everything is in order.

This PR updates the new `downloads.php` page with `winget`-specific
download instructions.

 - When the Usage field is set to CLI, the winget instructions refer to
   NTS builds (e.g `PHP.PHP.NTS.8.4`)
 - Other Usage values use the TS builds (e.g. `PHP.PHP.8.4`).

[^1]: https://github.com/microsoft/winget-pkgs/tree/master/manifests/p/PHP/PHP
[^2]: https://github.com/PHPWatch/php-winget-manifest/
[^3]: https://github.com/PHPWatch/php-winget-manifest/attestations
[^4]: https://github.com/microsoft/winget-pkgs/pulls?q=is%3Apr+%5BPHP%5D
@Ayesh
Copy link
Member Author

Ayesh commented Oct 26, 2025

image image

@github-actions
Copy link
Contributor

🚀 Preview for commit 90dbc48 can be found at https://web-php-pr-1562.preview.thephp.foundation

@github-actions
Copy link
Contributor

🚀 Regression report for commit 90dbc48 is at https://web-php-regression-report-pr-1562.preview.thephp.foundation

@shivammathur shivammathur merged commit cea4d68 into php:master Oct 27, 2025
5 checks passed
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.

3 participants