jawira/phing-visualizer
最新稳定版本:v2.5.2
Composer 安装命令:
composer require jawira/phing-visualizer
包简介
Graphical representation of Phing's buildfile
README 文档
README
Phing visualizer generates a graphical representation of your Phing's buildfile.
⚠️ Important:
phing-visualizerhas been ported to Phing asVisualizerTask.
You can use<visualizer/>task since Phing 3.0.0-alpha3.
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> <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:
Phing visualizer is able to represent:
- Target's depends
- RunTargetTask
- PhingCallTask
- ForeachTask
Usage
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/
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;(onphp.inifile)
More examples
Contributing
If you liked this project, ⭐ star it on GitHub.
License
This project is under the GNU GPLv3 license.
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...
jawira/phing-visualizer 适用场景与选型建议
jawira/phing-visualizer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.43k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2018 年 01 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 jawira/phing-visualizer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 jawira/phing-visualizer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2018-01-22




