romanpitak / php-rest-client
REST client library.
Installs: 1 545 256
Dependents: 6
Suggesters: 0
Security: 0
Stars: 16
Watchers: 6
Forks: 6
Open Issues: 3
Requires
- php: >=5.3.3
- ext-curl: *
This package is not auto-updated.
Last update: 2024-11-19 02:31:39 UTC
README
(c) 2014-2015 Roman Piták, http://pitak.net roman@pitak.net
Representational state transfer PHP client library.
Installation
The best way to install is to use the Composer dependency manager.
php composer.phar require romanpitak/php-rest-client
Basic Usage
$client = new Client('https://raw.githubusercontent.com/romanpitak'); $request = $client->newRequest('/PHP-REST-Client/master/README.md'); $response = $request->getResponse(); echo $response->getParsedResponse();