The source code of the website is available via SVN. To checkout the latest version, use the following commands:
$ svn checkout http://svn.php.net/repository/pear/pearweb/trunk
One can also view the source code by using the web interface.
The PHP code that runs the website is licensed under the PHP License. Some third-party code such as jpgraph is bundled with the website in SVN and may be available under a different license. If you are uncertain about the license or copyright constraints, please get in touch with the webmaster mailing list.