1<?php
2$_SERVER['BASE_PAGE'] = 'license/contrib-guidelines-code.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("License Information", ["current" => "help"]);
5?>
6<h2>PHP Contributor Guidelines for Code Developers</h2>
7
8<p>
9  Before you complete the form to request a Git account, you must understand and accept the principles under which PHP
10  itself is developed. These are summarised in the next paragraph.
11</p>
12<p>
13  Any code contributed to PHP must be contributed under the PHP license (or a compatible BSD-style license).
14  PHP will be redistributed under the PHP license (currently
15  <a href="http://www.php.net/license/3_01.txt">version 3.01</a>).
16  This includes implementation code, test cases, utility scripts and tools - that is, all code associated
17  with the PHP project. If you contribute code that isn't entirely your own
18  (for example it may be partially derived from other Open Source software) you are asked to add a comment
19  into the source code to indicate the origin and the license of the original code.
20  If you are unsure of the license you are asked to confirm with the owner of the code that they are
21  happy for it to be contributed to PHP under the PHP license.
22</p>
23<p>
24  Specifically regarding GPL and LGPL source code:
25</p>
26<ul>
27  <li>GPL or LGPL licensed code cannot be used as a basis for any derived work contributed to PHP.</li>
28  <li>Extensions which link  GPL'd libraries will not be accepted.</li>
29  <li>Extensions which link to LGPL libraries  will be strongly discouraged.</li>
30</ul>
31
32
33<h2>Guidelines for Related Projects</h2>
34
35<p>
36  For related projects, please refer to the Project websites:
37</p>
38<ul>
39  <li><a href="http://pecl.php.net/copyright.php">PECL</a></li>
40  <li><a href="http://pear.php.net/copyright.php">PEAR</a></li>
41</ul>
42
43<?php site_footer();
44