wiki:Users/Download

Getting Phing

PEAR Installer

The preferred method to install Phing is through PEAR and the Phing PEAR channel. You can install Phing by adding the pear.phing.info channel to your PEAR environment and then installing Phing using the phing channel alias and phing package name:

$> pear channel-discover pear.phing.info
$> pear install phing/phing

Note: if you would like to use a beta or RC version of Phing, install as follows:

$> pear install phing/phing-beta

Note: if you would like to use snapshots of new versions of Phing, install as follows:

$> pear install phing/phing-alpha

For more info, refer to the  PEAR channel.

Dependencies

Phing has a number of (optional) dependencies that, when satisified, enable additional functionality (such as tasks) to use in your build file. In case you want to install Phing with all the dependencies satisfied, use the following command:

$> pear config-set preferred_state alpha
$> pear install --alldeps phing/phing
$> pear config-set preferred_state stable

Full Phing Package

The full Phing package has a more traditional directory organization and contains the full documentation, test scripts, and build.xml files for (e.g.) building the PEAR-installable package. Please download one of the packages below if you would like to install the full Phing package.

Current Stable Release

Previous Stable Release

Current Beta Release

Development version (SVN)

Should you wish to run the "bleeding edge" of Phing development, you can check out a copy of the Phing Subversion repository.

svn checkout http://svn.phing.info/trunk phing

Alternatively, you can use 'svn export' to get a clean copy (without the .svn directories):

svn export http://svn.phing.info/trunk phing

Please note that this code can contain bugs.