# Phing

> PHP build tool modelled on Apache Ant, with XML build files and PHP task classes

Source: https://talira.ai/catalog/phing-z815nez4
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / build / build systems](https://talira.ai/categories/developer-tools/build/build-systems), [languages / php](https://talira.ai/categories/languages/php)
- Licence: LGPL-3.0-only[^3][^4]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Phing Community](https://talira.ai/orgs/phing-community.md)

Phing (PHing Is Not GNU make) is a build system for PHP projects modelled on [Apache Ant](https://talira.ai/catalog/apache-ant-ycn7nm6h.md). Builds are simple XML files, and tasks are PHP classes you can extend. It ships tasks for running PHPUnit with test and coverage reports, file transformations (token replacement, XSLT, templates), file system operations, interactive builds, SQL, Git, Subversion and Mercurial, and documentation generation. It installs with Composer, as a Phar, as an official Docker image, or through an official GitHub Action.

## Links

- Website: https://www.phing.info/
- GitHub: https://github.com/phingofficial/phing

## Ways to install

### Package managers

- [APT](https://talira.ai/catalog/apt-d7essv0z.md): <https://packages.debian.org/stable/phing>[^1]

## Problems it solves

- automate packaging, testing and deploying a PHP project
- replace my ad-hoc PHP build scripts with a build tool
- run PHPUnit and generate docs as one build step

## Features

- XML build files with extensible PHP task classes
- PHPUnit runs with test and coverage reports
- file transformations: token replacement, XSLT and templates
- SQL, Git, Subversion and Mercurial tasks
- Composer, Phar, Docker image and GitHub Action

## Limitations

- Phing 3.2 needs PHP 8.2 or later, and Phing 3 has breaking changes from Phing 2.[^2]

## Trust

Overall: 0.57 out of 1.
Signals: maintenance 0.81, adoption 0.61, momentum 0.26, community 0.95, backing 0.30, extensibility 0.00.

- last commit 9 days ago
- 31 commits in the last 90 days
- latest release 3.1.2 9 months ago
- 1.2k GitHub stars
- 243 contributors
- accepts sponsorship (Github, Github, Patreon)
- backed by Phing Community

## Alternatives

- [Robo](https://talira.ai/catalog/robo-d6pq326a.md): PHP task runner for scripts, asset builds, tests and deploys, written in PHP
- [Apache Maven](https://talira.ai/catalog/apache-maven-pd8h426n.md): Apache Maven builds, tests, and documents Java projects from a single project object model (POM)

## Sources

[^1]: https://deb.debian.org/debian/dists/stable/main/source/Sources.xz (checked 28 Nov 2026)
[^2]: https://github.com/phingofficial/phing#readme (checked 28 Nov 2026)
[^3]: https://github.com/phingofficial/phing/blob/main/LICENSE (checked 28 Nov 2026)
[^4]: https://github.com/phingofficial/phing/blob/main/composer.json (checked 28 Nov 2026)
