library backtrac-php-client
ec-europa/backtrac-php-client
- Friday, April 20, 2018
- by ec-europa
- Repository
- 12 Watchers
- 3 Stars
- 5,621 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 17 Versions
- 38 % Grown
Backtrac PHP client
This projects includes both a client library and a phing helper to trigger visual comparison., (*1)
Installation
composer require ec-europa/backtrac-php-client
Usage as library
See example.php, (*2)
Usage as Phing task
<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>
dev-master
9999999-dev
Sources
Download
EUPL
EUPL-1.1
The Requires
The Development Requires
0.1.9
0.1.9.0
Sources
Download
EUPL-1.1
The Requires
The Development Requires
dev-feature/MULTISITE-18518
dev-feature/MULTISITE-18518
Sources
Download
EUPL-1.1
The Requires
The Development Requires
dev-feature/MULTISITE-19639
dev-feature/MULTISITE-19639
Sources
Download
EUPL-1.1
The Requires
The Development Requires
0.1.8
0.1.8.0
Sources
Download
EUPL-1.1
The Requires
The Development Requires
0.1.7
0.1.7.0
Sources
Download
EUPL-1.1
The Requires
The Development Requires
0.1.6
0.1.6.0
Sources
Download
EUPL-1.1
The Requires
The Development Requires
dev-feature/self-compare
dev-feature/self-compare
Sources
Download
EUPL-1.1
The Requires
The Development Requires
0.1.5
0.1.5.0
Sources
Download
EUPL-1.1
The Requires
The Development Requires
0.1.4
0.1.4.0
Sources
Download
EUPL-1.1
The Requires
The Development Requires
dev-feature/MULTISITE-19408
dev-feature/MULTISITE-19408
Sources
Download
EUPL-1.1
The Requires
The Development Requires
dev-feature/login
dev-feature/login
Sources
Download
EUPL
The Requires
The Development Requires
dev-bug/jsonfix
dev-bug/jsonfix
Sources
Download
EUPL
The Requires
The Development Requires