snide/php-osrc-client

PHP Osrc Client

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/snide/php-osrc-client

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

This package is not auto-updated.

Last update: 2025-09-27 20:19:26 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!