snide/php-scrutinizer-client

PHP Scrutinizer Client

1.2.0 2014-02-23 10:29 UTC

This package is not auto-updated.

Last update: 2024-03-11 23:01:07 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!