snide/php-osrc-client

dev-master 2014-02-26 12:50 UTC

This package is not auto-updated.

Last update: 2024-11-09 15:39:34 UTC


README

A PHP Client for osrc.dfm.io API

Build Status Scrutinizer Quality Score Code Coverage

Installation

Installation by Composer

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

    "require": {
        ...
        "snide/php-osrc-client": "dev-master"
        ...
    },

Usage

To access http://osrc.dfm.io/username.json, you can do :

<?php

    $client = new Snide\Osrc\Client();
    $repo = $client->fetchUser(new User('username'));

That's all!