Welcome to the website of The Phing Project

PHing Is Not GNU make; it's a PHP project build system or build tool based on Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP "task" classes make it an easy-to-use and highly flexible build framework.

Features include running PHPUnit and SimpleTest unit tests (including test result and coverage reports), file transformations (e.g. token replacement, XSLT transformation, Smarty template transformations), file system operations, interactive build support, SQL execution, CVS/SVN/GIT operations, tools for creating PEAR packages, documentation generation (DocBlox, PhpDocumentor) and much, much more.

If you find yourself writing custom scripts to handle the packaging, deploying, or testing of your applications, then we suggest looking at the Phing. Phing comes packaged with numerous out-of-the-box operation modules (tasks), and an easy-to-use OO model to extend or add your own custom tasks.

Phing provides the following features:

  • Simple XML buildfiles
  • Rich set of provided tasks
  • Easily extendable via PHP classes
  • Platform-independent: works on UNIX, Windows, Mac OSX
  • No required external dependencies
  • Built for PHP5


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

$> pear channel-discover
$> pear install [--alldeps] phing/phing

Or, 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.*"

For more information, visit the installation page. We follow the Semantic Versioning principle.



Open the user guide (chunked HTML), or visit the Documentation page.


Thank you for using PHING!

Recent Phing News





Last modified 21 months ago Last modified on 03/10/2016 11:14:22 PM