snide/php-scrutinizer-client

PHP Scrutinizer Client

1.2.0 2014-02-23 10:29 UTC

README

PHP Client for Scrutinizer API

Latest Stable Version Build Status Code Coverage Scrutinizer Quality Score Bitdeli Badge

Installation

Installation by Composer

If you use composer, add scrutinizer-client library as a dependency to the composer.json of your application

    "require": {
        ...
        "snide/php-scrutinizer-client": "1.*"
        ...
    },

Usage

To access Scrutinizer API, you can do :

<?php
    // Access github repository pdenis/monitoring
    $client = new Snide\Scrutinizer\Client();
    $repo = $client->fetchRepository('pdenis/monitoring');

That's all!