jaz303/phake · GitHub
Phake is a PHP 5.3 task runner modeled after Ruby's Rake that uses closures to define and execute build tasks with support for dependencies, grouping, and command-line arguments. Tasks can depend on other tasks, be organized into named groups (invoked as `group:task`), include before/after hooks, and accept typed arguments passed from the command line. The tool reads task definitions from a Phakefile in the project directory and provides a command-line interface to list available tasks or execute them in dependency order.