Phing is a PHP build automation tool based on the concepts used by Apache Ant. It provides an XML-based system for defining development tasks and their dependencies. Each build file contains targets, which in turn contain operations such as copying files, running tests, processing templates and interacting with external programs. Targets can be executed individually or combined into larger workflows.
Phing includes tasks covering many common PHP development requirements. It can execute PHPUnit tests, produce test reports, perform file transformations and interact with version-control systems. Developers can configure properties to control build behaviour and define alternative targets for different environments. Its task library includes operations for working with SQL databases, generating documentation and carrying out deployment-related actions. Custom task classes allow projects to extend the system when built-in operations are insufficient. Phing can also support interactive input and conditional execution, making it suitable for development processes that involve both automated and user-directed steps.
This is free and open source software.
Key Features
- XML build files – describes build operations in structured configuration files.
- Targets – groups tasks into reusable operations.
- Target dependencies – executes prerequisite targets in the required order.
- Properties – stores configurable values for use throughout a build.
- Property files – loads external settings into a project.
- Conditional execution – controls whether supported targets and tasks run.
- File operations – copies, moves, renames and deletes files and directories.
- File sets – selects groups of files using include and exclude patterns.
- Text transformations – performs token replacement and other substitutions.
- XSLT processing – transforms XML documents.
- Template processing – generates files from supported templates.
- PHPUnit integration – executes PHP unit tests.
- Test reporting – produces test results and coverage information.
- Database operations – executes SQL statements against supported databases.
- Version control – integrates Git, Mercurial and Subversion operations.
- Documentation generation – supports phpDocumentor and other documentation tools.
- External commands – runs system commands and scripts.
- Interactive input – requests user input during supported build operations.
- Logging – controls the verbosity and formatting of build output.
- Custom tasks – extends the system using PHP task classes.
- Task definitions – registers project-specific task implementations.
- Build file imports – combines reusable definitions from other build files.
- Error handling – controls responses to task failures.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/phingofficial/phing
Support:
Developer: Michiel Rook, Ken Guest, Siad Ardroumli, Jawira Portugal, Thomas Müller and Blair Cooper
License: GNU Lesser General Public License v3.0
Related Software
| Build Systems | |
|---|---|
| Cargo | Rust package manager |
| gulp | Toolkit to automate & enhance your workflow |
| Bazel | Build and test your multi-language, multi-platform projects |
| Apache Maven | Build automation tool used primarily for Java projects |
| Gradle | Build tool with a focus on build automation and support for multi-language |
| Meson | Next-generation build system |
| sbt | Extensible task and dependency tool for Scala projects |
| CMake | Family of tools designed to build, test and package software |
| Buck2 | Encourages the creation of small, reusable modules |
| Leiningen | Automating Clojure projects |
| Grunt | JavaScript Task Runner |
| Ninja | Small build system with a focus on speed |
| Mill | Fast, flexible task runner for JVM-based software projects |
| xmake | Cross-platform build utility based on Lua |
| SCons | Software construction tool |
| Pants | Scalable build system for monorepos |
| PHing | Build system based on Apache Ant |
| Please | Fast cross-language automation for large codebases |
| Rake | make-like build utility for Ruby |
| Apache Ant | Tool for automating software build processes |
| Rebar3 | Feature-rich project and dependency tool for Erlang applications |
| Cabal | Common Architecture for Building Applications and Libraries |
| FASTBuild | High-performance tool with caching and distributed processing |
| Dune | Composable project automation tailored to the OCaml ecosystem |
| build2 | Native cross-platform toolchain for C and C++ projects |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.