eddiezane/tinyhttp

A tiny HTTP library

0.2.0 2015-03-27 19:25 UTC

This package is not auto-updated.

Last update: 2024-03-16 14:25:09 UTC


README

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.