PHP CSS JavaScript
Pull request Compare This branch is 1045 commits behind php:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
archive
backend
bin
conferences
distributions @ 24fa361
fonts
images
include
js
license
manual
pear
releases
security
stats
styles
.gitignore
.gitmodules
.htaccess
.router.php
ChangeLog-4.php
ChangeLog-5.php
README.md
build-setup.php
cached.php
cal.php
contact.php
copyright.php
credits.php
crossdomain.xml
docs.php
download-docs.php
download-logos.php
downloads.php
eol.php
error.php
favicon.ico
get-involved.php
git-php.php
git.php
humans.txt
index.php
labels.rdf
mailing-lists.php
manual-lookup.php
mirror-info.php
mirror-stats.conf
mirror.php
mirroring-stats.php
mirroring-troubles.php
mirroring.php
mirrors.php
mod.php
my.php
privacy.php
quickref.php
results.php
robots.txt
search.php
security-note.php
sitemap.php
sitemap.xml
sites.php
software.php
submit-event.php
support.php
thanks.php
ug.php
unsub.php
urlhowto.php
usage.php

README.md

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.