romanpitak/php-rest-client

REST client library.

v1.2.1 2015-02-19 15:32 UTC

This package is not auto-updated.

Last update: 2024-12-17 02:48:56 UTC


README

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