snide/php-travis-client

PHP Travis Client

Installs: 161

Dependents: 2

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/snide/php-travis-client

dev-master 2014-02-25 10:57 UTC

This package is not auto-updated.

Last update: 2025-09-27 19:42:47 UTC


README

PHP Client for Travis API

Build Status Scrutinizer Quality Score Code Coverage

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