wiki:Users/Installation

Installing Phing

PEAR

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 [--alldeps] phing/phing

Note: if you would like to install an unstable version of Phing (alpha or beta), install as follows:

$ pear install phing/phing-beta
$ pear install phing/phing-alpha

For more info, refer to the PEAR channel.

Composer

Install Phing by adding a dependency to phing/phing to the require-dev or require section of your project's composer.json configuration file, and running 'composer install':

{
    "require-dev": {
        "phing/phing": "2.*"
    }
}

Phar

Download the Phar archive. The archive can then be executed by running:

$ php phing-latest.phar

Manual install

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.

Last modified 2 months ago Last modified on 05/28/2014 05:17:29 PM