ec-europa / backtrac-php-client
此包已废弃且不再维护。未建议替代包。
0.1.9
2018-04-20 17:45 UTC
Requires
- tcdent/php-restclient: ^0.1.6
Requires (Dev)
- phing/phing: 2.*
- squizlabs/php_codesniffer: ^3.0
- symfony/yaml: ^3.1
This package is auto-updated.
Last update: 2021-06-27 14:28:05 UTC
README
该项目包括客户端库和用于触发可视化比较的Phing助手。
安装
composer require ec-europa/backtrac-php-client
作为库的使用
作为Phing任务的使用
<?xml version="1.0" ?> <project default="backtrac-compare-self" name="test" basedir="."> <!-- Import the phing tasks into your project. --> <import file="${project.basedir}/vendor/ec-europa/backtrac-php-client/phing/import.xml" /> <!-- Example target to update a website url for an environment. --> <target name="backtrac-update-url"> <backtrac-set-url secure="true" environment="development" url="http://xyz.com" project_id="12" auth_token="xxxxxxxx" /> </target> <!-- Example target for comparing different environments: prod and dev. --> <target name="backtrac-compare-prod-dev"> <backtrac-compare secure="true" compare_mode="compare_prod_dev" project_id="12" check_results="true" auth_token="xxxxxxxx" /> </target> <!-- Example target to take single snapshot: before deployment or build. --> <target name="backtrac-single-snapshot"> <backtrac-compare secure="true" compare_mode="snapshot" environment="production" project_id="12" check_results="false" auth_token="xxxxxxxx" /> </target> <!-- Example target for comparing environment to latest snapshot: after deployment or build. --> <target name="backtrac-compare-self"> <backtrac-compare secure="true" compare_mode="compare_itself" environment="production" project_id="12" check_results="false" auth_token="xxxxxxxx" /> </target> </project>