PHP Classes


Recommend this page to a friend!
  Classes of jawira   Phing Build File Visualizer   Download  
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Phing Build File Visualizer
Render chart to represent a Phing build process
Author: By
Last change:
Date: 3 years ago
Size: 5,153 bytes


Class file image Download

Phing visualizer

Phing visualizer generates a graphical representation of your Phing's buildfile.

>? Important: phing-visualizer has been ported to Phing as VisualizerTask. >You can use <visualizer/> since [Phing 3.0.0-alpha3][].

Latest Stable Version Build Status Total Downloads Maintainability Test Coverage composer.lock PDS Skeleton License Issues

With phing-visualizer You can go from this:

<?xml version="1.0" encoding="UTF-8"?>
<project name="My Phing's buildfile" default="test">

    <target name="test" depends="test:phpunit, test:composer">
        <phingcall target="test:notify"/>

    <target name="test:composer">
            <arg line="validate --strict --no-check-lock"/>

    <target name="test:phpunit">
        <exec executable="${phpunit}"/>
        <phingcall target="test:clean"/>

    <target name="test:notify">
        <notifysend msg="Everything is OK!"/>

    <target name="test:clean">
        <delete dir="${dir.output}" verbose="true"/>

    <target name="diagnostics">


To this:

Phing visualizer demo

Phing visualizer is able to represent:

  • Target's depends
  • RunTargetTask
  • PhingCallTask
  • ForeachTask


Create your diagram using the command line, some examples:

$ vendor/bin/phing-visualizer

$ vendor/bin/phing-visualizer -i build.xml -f svg

$ vendor/bin/phing-visualizer --input /my/location/build.xml --format svg

$ vendor/bin/phing-visualizer -i /my/location/build.xml -f png  -o /another/location/ 


| Option | Description | Default value | | --------------------- | --------------------------------------------- | ----------------- | | -i or --input | Phing's buildfile location | build.xml | | -o or --output | Dir or file location | Same as --input | | -f or --format | Diagram format (png, svg, eps or puml)| png | | -h or --help | Help | |


$ composer require jawira/phing-visualizer


  • SimpleXML extension
  • XSL extension
  • `allow_url_fopen = On;` (on `php.ini` file)

More examples



Enom Pro!

Bitpay Magento2 plugin


If you liked this project, ? star it on [GitHub].


This project is under the GNU GPLv3 license.


Packages from jawira


<dt><a href="">jawira/phing-visualizer-gui</a> (library)</dt> <dd>GUI for jawira/phing-visualizer.</dd>

<dt><a href="">jawira/phing-open-task</a> (library)</dt> <dd>Phing task to open files, directories, and URLs with your favorite software.</dd>

<dt><a href="">jawira/process-maker</a> (project)</dt> <dd>Easily install and try ProcessMaker using Docker Compose.</dd>

<dt><a href="">more...</a></dt>


[GitHub]: [Phing 3.0.0-alpha3]: