Skip to content

eddiezane/TinyHttp

Repository files navigation

TinyHttp

BuildStatus

TinyHttp is a very small HTTP wrapper written by Neuman Vong and the fine folks over at Twilio. For more information of its purpose, see this issue.

Install

Via Composer

$ composer require eddiezane/tinyhttp

Usage

$client = new \TinyHttp('http://api.giphy.com');
echo $client->get('/v1/gifs/random', null, array('api_key' => 'dc6zaTOxFJmzC'))->body;

Testing

$ ./vendor/bin/phpunit

Todo

  • Improve README usage
  • Write tests

Contributing

Please see CONTRIBUTING for details.

Credits

License

The ISC License (BSD). Please see License File for more information.