dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

More about SVN

You can find more information about SVN, and download clients for most major platforms, at the official SVN site.

SVN access

If you would like to grab PHP sources or other PHP.net hosted project data from PHP.net, you can also use SVN. No SVN account is required.

Using SVN for PHP Development

All PHP development is done through a distributed revision control system called SVN. This helps us track changes and it makes it possible for people located in all corners of the world to collaborate on a project without having to worry about stepping on each others' toes.

Please note that you do not need a SVN account to access the SVN tree, to use PHP, or to write PHP scripts. You only need a SVN account if you will be a regular contributor to the development of PHP itself.

And once again, since people just don't seem to understand this point:

Does Not Require SVN Account Requires SVN Account
Learning PHP Developing the PHP runtime
Coding in PHP Maintaining an official, bundled PHP extension
Reading the PHP source Maintaining the documentation
Using PHP extensions Translating the documentation
Creating experimental PHP extensions Maintaining www.php.net
Submitting a patch to PHP  
Adding notes to the documentation  
Writing web pages with PHP  
Setting up a php.net mirror site  

If you are contributing a patch, a small fix, or another minor change you do not need to ask for a SVN account before submitting it. Just send your patch to the internals mailing list. You should subscribe to that list to participate in any discussion your patch generates! Your patch may not get noticed the first time. Make sure that when you send your patch, you explain what it does. Make sure you use a clear subject when sending your patch (you might even want to prefix it with "[PATCH]"). If nobody seems to take notice after a few days, you might want to try resubmitting it. Your original message might have gotten missed because of another heated discussion.

Submitting patches and participating in the discussion on the 'internals' list before requesting full SVN access is strongly suggested, so the PHP development team can get to know you and what you'll be contributing. It is suggested that all PHP developers (people developing PHP itself, not people developing in PHP) subscribe to this list. Similarly, if you plan on contributing documentation, you should subscribe to the documentation mailing list, and read the PHP Documentation HOWTO.

If you wish to contribute to the documentation please contact the translation team for the language you wish to help with. If you have trouble finding the team, ask on the phpdoc mailing list. Once you have made contact you may apply for a SVN account here by including the name of one or more people from the existing translation team that referred you and of course the language you wish to translate to.

If you have a new PEAR package you wish to contribute, propose it through the PEPR system on the PEAR website. If you have a new PECL extension you wish to contribute, bring it up on the appropriate PECL mailing list first.
Once your PEAR package has been approved, or you get the sense that people generally agree that your PECL contribution is worthwhile, you may apply for a SVN account here. Specify the name of your PEAR package or PECL contribution (single word SVN module name) and also reference an existing account holder who can vouch for your contribution, or provide a link to your PEAR proposal.

Okay, if you are still reading, then you may actually need a SVN account. This is not an automatic process. Fill in the form below to request an account. In the box next to "Purpose", describe what it is that you intend to do with SVN access. If it isn't clear from what you've described already, tell us what parts of the SVN repository you need access to (for example, "phpdoc" is the documentation tree, "php-src/ext/readline" is the PHP readline extension). If someone told you to fill out the form here, make sure to mention them here!

The SVN account, once granted and activated (which could take a while, so be patient!), gives you access to a number of things. First, and most importantly, it gives you access to modify those parts of the PHP SVN tree for which you have requested and been granted access. It also allows you to comment on and close bugs in our bug database, and allows you to modify the documentation notes in the annotated manual. Your SVN account also translates into a foo@php.net forwarding email address where foo is your SVN user id. Feel free to use it!

Request a SVN account

Please note that you do NOT need a SVN account to study PHP. You do NOT need a SVN account to learn PHP, to use PHP or to in any way do anything at all with PHP. If you are sitting there wondering if you need a SVN account, then you don't! If an existing SVN account holder suggested you request an account, please mention their SVN id in the request.

Also note that information provided here will be sent to a public mailing list.

Full Name:
For what purpose do you require a SVN account:
(check all that apply)
Learning PHP
Coding in PHP
Reading the PHP source
Using PHP extensions
Creating experimental PHP extensions
Submitting a patch to PHP
Adding notes to the documentation
Writing web pages with PHP
Setting up a php.net mirror site
If your intended purpose is not in the list,
please state it here:
Do you agree to follow the contribution guidelines? Check the box if you agree.
User ID:
(single word, lower case)
Requested Password:
Did you fill this form out correctly (yes/no)?
Type of initial karma (who to send this request to):
show source | credits | sitemap | contact | advertising | mirror sites