commands.sh

phing

all

A PHP build tool based on Apache Ant.

More info →

Options (2)

-i, --initboolean

Initialize a new build file

Example: phing {{[-i|--init]}} {{path/to/build.xml}}
-fboolean

Use the given build file path

Example: phing {{[-f|-buildfile]}} {{path/to/build.xml}} {{task_name}}

Examples (8)

Perform the default task in the `build.xml` file

Initialize a new build file

phing [-i|--init] path/to/build.xml

Perform a specific task

phing task_name

Use the given build file path

phing [-f|-buildfile] path/to/build.xml task_name

Log to the given file

phing -logfile path/to/log_file task_name

Use custom properties in the build

phing -Dproperty=value task_name

Specify a custom listener class

phing -listener class_name task_name

Build using verbose output

phing -verbose task_name
made by @shridhargupta | data from tldr-pages