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
Requires
- php: >=5.3.3
- guzzle/http: 3.*
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2025-09-27 20:19:26 UTC
README
A PHP Client for osrc.dfm.io API
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!