Trac

Getting PHPDoctrine from Subversion (SVN)

Doctrine's source code is stored in a Subversion repository located at http://svn.phpdoctrine.org/. You can browse the repository using a web browser, but in order to download the code you will need to use Subversion. See the instructions there on where to get a client for your platform.

Depending on your needs, you have a choice of versions of Doctrine to check out. Each of these versions has a different location in the repository.

  • The trunk contains the most up-to-date, cutting edge version of Doctrine. You should not use the trunk unless you are participating in the development of Doctrine or are willing to put up with occasional breakage in order to have the very latest features. http://svn.phpdoctrine.org/trunk
  • A release branch is where work to stabilize a version of Doctrine before release takes place. After release, it is used for bug fixes. It should be more stable than the trunk, although you should expect changes as bugs are fixed and release features are finalized. The current release branch is http://svn.phpdoctrine.org/branches/0.10
  • When a release branch reaches a stable state which is ready for wider public release, a release tag is created. Unlike release branches, the contents of release tags do not change and are therefore the most stable choice. Currently the only release tag is 1.0 beta1. http://svn.phpdoctrine.org/tags/0.10.3

If you have command line svn, you can do the following to get the code. The code will be checked out into a directory called someDirectory/doctrine. If you want to use a version of the code aside from the 1.0 branch, you will need to change the URL in the example below.

cd someDirectory
svn co http://svn.phpdoctrine.org/branches/0.10 doctrine