2017 © Pedro Peláez
 

library phing-visualizer

Graphical representation of Phing's buildfile

image

jawira/phing-visualizer

Graphical representation of Phing's buildfile

  • Monday, July 23, 2018
  • by jawira
  • Repository
  • 0 Watchers
  • 0 Stars
  • 20 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 7 Open issues
  • 22 Versions
  • 122 % Grown

The README.md

Phing visualizer

Phing visualizer generates a graphical representation of your Phing's buildfile., (*1)

⚠️ Important: phing-visualizer has been ported to Phing as VisualizerTask.
You can use <visualizer/> task since Phing 3.0.0-alpha3., (*2)

Latest Stable Version Build Status Total Downloads Maintainability Test Coverage composer.lock PDS Skeleton License Issues HitCount, (*3)

With phing-visualizer You can go from this:, (*4)


<project name="My Phing's buildfile" default="test">

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

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

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

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

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

    <target name="diagnostics">
        <diagnostics/>
    </target>

</project>

To this:, (*5)

Phing visualizer demo, (*6)

Phing visualizer is able to represent:, (*7)

  • Target's depends
  • RunTargetTask
  • PhingCallTask
  • ForeachTask

Usage

Create your diagram using the command line, some examples:, (*8)

$ 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/ 

Options

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

Installing

$ composer require jawira/phing-visualizer

Requirements

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

More examples

ucenter, (*9)

App.EduResourceCenter, (*10)

Enom Pro!, (*11)

Bitpay Magento2 plugin, (*12)

Contributing

If you liked this project, ⭐ star it on GitHub., (*13)

License

This project is under the GNU GPLv3 license., (*14)


Packages from jawira

jawira/phing-visualizer-gui (library)
GUI for jawira/phing-visualizer.
jawira/phing-open-task (library)
Phing task to open files, directories, and URLs with your favorite software.
jawira/process-maker (project)
Easily install and try ProcessMaker using Docker Compose.
more...

The Versions

23/07 2018

dev-develop

dev-develop

Graphical representation of Phing's buildfile

  Sources   Download

MIT GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

23/07 2018

dev-master

9999999-dev

Graphical representation of Phing's buildfile

  Sources   Download

MIT GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

23/07 2018

v1.6.0

1.6.0.0

Graphical representation of Phing's buildfile

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

11/07 2018

dev-feature/contributing

dev-feature/contributing

Graphical representation of Phing's buildfile

  Sources   Download

MIT GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

11/07 2018

v1.5.1

1.5.1.0

Graphical representation of Phing's buildfile

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

05/07 2018

v1.5.0

1.5.0.0

Graphical representation of Phing's buildfile

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

03/07 2018

v1.4.5

1.4.5.0

Graphical representation of Phing's buildfile

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

08/06 2018

v1.4.4

1.4.4.0

Graphical representation of Phing's buildfile

  Sources   Download

GPL-3.0-or-later

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

06/03 2018

v1.4.3

1.4.3.0

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

06/03 2018

dev-hotfix/v1.4.3

dev-hotfix/v1.4.3

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

05/03 2018

v1.4.2

1.4.2.0

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

05/03 2018

v1.4.1

1.4.1.0

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

05/03 2018

v1.4.0

1.4.0.0

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

05/03 2018

dev-release/v1.4.0

dev-release/v1.4.0

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

04/03 2018

dev-feature/26-foreach-task

dev-feature/26-foreach-task

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

23/01 2018

v1.3.1

1.3.1.0

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

23/01 2018

dev-feature/15-infection

dev-feature/15-infection

Graphical representation of Phing's buildfile

  Sources   Download

MIT

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

13/01 2018

v1.3.0

1.3.0.0

Graphical representation of Phing's buildfile

  Sources   Download

library

The Requires

 

The Development Requires

  • mikey179/vfsstream ^1.6

11/01 2018

v1.2.0

1.2.0.0

Graphical representation of Phing's buildfile

  Sources   Download

library

The Requires

 

08/01 2018

v1.1.0

1.1.0.0

Graphical representation of Phing's buildfile

  Sources   Download

library

The Requires

 

02/01 2018

v1.0.0

1.0.0.0

Graphical representation of Phing's buildfile

  Sources   Download

library

The Requires

 

26/11 2017

v0.0.0

0.0.0.0

Graphical representation of Phing's buildfile

  Sources   Download

library

The Requires