snide / php-travis-client
PHP Travis Client
dev-master
2014-02-25 10:57 UTC
Requires
- php: >=5.3.3
- guzzle/guzzle: 3.7
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-12-21 15:49:50 UTC
README
PHP Client for Travis API
Installation
Installation by Composer
If you use composer, add travis-client library as a dependency to the composer.json of your application
"require": { ... "snide/php-travis-client": "dev-master" ... },
Usage
Getting Repository info :
<?php include_once('../vendor/autoload.php'); use Snide\Travis\Client; use Snide\Travis\Model\Repository; $client = new Client(); $project = new Repository('pdenis/memetor'); $project = $client->fetchRepository($repository); // Fetch repository & builds $project = $client->fetchProject($repository, false); // Fetch repository without builds