Skip to content

romanpitak/PHP-REST-Client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP REST Client

Latest Stable Version Total Downloads License Code Climate Codacy Badge

(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();