1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Peter Kokot 6e80db5087 Convert CRLF line endings to LF
This patch simplifies line endings tracked in the Git repository and
syncs them to all include the LF style instead of the CRLF files.

Newline characters:
- LF (\n) (*nix and Mac)
- CRLF (\r\n) (Windows)
- CR (\r) (old Mac, obsolete)

To see which line endings are in the index and in the working copy the
following command can be used:
`git ls-files --eol`

Git additionally provides `.gitattributes` file to specify if some files
need to have specific line endings on all platforms (either CRLF or LF).

Changed files shouldn't cause issues on modern Windows platforms because
Git can do output conversion if core.autocrlf=true is set on Windows
and then uses CRLF newlines in all files in the working tree.

Unless CRLF files are tracked specifically, Git by default tracks all
files in the index using LF newlines.
2018-10-17 09:49:07 +02:00
2018-10-17 07:34:16 +02:00
2018-10-17 09:49:07 +02:00
2018-10-17 07:29:46 +02:00
2018-10-09 12:26:16 -04:00
2016-01-14 16:16:20 -08:00
2018-10-17 07:29:46 +02:00
2017-11-20 13:34:08 +03:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2016-09-16 08:30:28 +02:00
2012-01-24 17:02:34 +01:00
2014-04-10 02:40:21 -07:00
2018-10-17 07:29:46 +02:00
2018-10-11 10:13:17 -04:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2011-07-16 17:09:14 +00:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2016-11-08 11:37:30 -07:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2017-07-21 20:50:49 +01:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00
2018-10-17 07:29:46 +02:00

Local development

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

To setup a local mirror of the website:

$ git clone https://github.com/php/web-php.git
$ cd web-php
$ php -S localhost:8080 .router.php

This repo 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

Setting up an official mirror

To install a full official mirror please see the mirroring guidelines.

Code requirements

Code must function on a vanilla PHP 5.3 installation as some php.net mirrors still run PHP 5.3. Please keep this in mind before filing a pull request.

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%