mirror of
https://github.com/php/web-php.git
synced 2026-03-24 07:12:16 +01:00
a27df08b8a482fcef149e236aea6137a8987f5fa
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
Use HTTPS URL for event submission to main.php.net, match spam check expectation to web-master (#1017)
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
Languages
PHP
94.4%
CSS
2.6%
JavaScript
2.5%
PowerShell
0.2%
TypeScript
0.2%