1
0
mirror of https://github.com/php/web-php.git synced 2026-03-24 07:12:16 +01:00
Ayesh Karunaratne a27df08b8a Downloads: Add winget download instrunctions
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
2025-10-26 19:40:28 +07:00
2025-07-31 17:45:27 +01:00
2024-11-21 06:44:48 -05:00
2025-10-23 13:49:31 -07:00
2025-10-22 04:34:39 +09:00
2025-10-23 13:49:31 -07:00
2024-08-20 09:20:25 +03:00
2024-11-27 12:27:27 +01:00
2022-11-03 08:30:50 +00:00
2025-10-23 13:49:31 -07:00
2024-07-09 10:28:58 +03:00
2025-07-05 22:41:54 -05:00
2018-10-17 10:51:08 +02:00
2025-07-05 22:41:54 -05:00
2022-06-10 12:45:10 +02:00
2022-06-10 12:45:10 +02:00
2022-06-10 12:45:10 +02:00
2022-06-10 12:45:10 +02:00
2022-06-10 12:45:10 +02:00
2025-09-23 15:06:43 -04:00
2024-08-20 09:20:25 +03:00
2024-07-21 12:25:35 +03:00
2024-11-27 12:27:27 +01:00
2025-04-25 15:55:57 +03:00
2024-12-10 11:29:57 +00:00
2018-10-17 12:37:26 +02:00
2025-04-28 18:05:10 +03:00
2024-08-20 09:20:25 +03:00

Integrate

Local development

This is the git repository for the official www.php.net website.

To setup a local mirror of the website, clone the repository:

git clone https://github.com/php/web-php.git

Change into web-php:

cd web-php

Start the built-in web server:

php -S localhost:8080 .router.php

This repository includes most (generated) files that are required for normal operation of this website, such as

  • News & events data
  • Several manual pages (and a translation), see manual/{en,ja}/
  • User contributed notes for manual pages
  • A "router" for the builtin PHP webserver

How to set up a full local mirror is described in our Wiki: https://wiki.php.net/web/mirror

Code requirements

Code must function on a vanilla PHP 8.2 installation. Please keep this in mind before filing a pull request.

Contributing

Please have a look at CONTRIBUTING.md.

Description
⚠️ ARCHIVED: Original GitHub repository no longer exists. Preserved as backup on 2026-01-22T16:26:27.645Z
Readme 201 MiB
Languages
PHP 94.4%
CSS 2.6%
JavaScript 2.5%
PowerShell 0.2%
TypeScript 0.2%