alphayax/rest

Tiny class to provide simple REST

1.1.3 2017-02-15 21:38 UTC

This package is not auto-updated.

Last update: 2024-12-21 20:41:32 UTC


README

Latest Stable Version Latest Unstable Version pakagist

Code Coverage Codacy Badge

License Total Downloads

A simple project using curl in object oriented style

Example

Basic working example :

$rest = new \alphayax\rest\Rest( 'https://api.github.com/users/alphayax/repos');
$rest->addHeader( 'User-Agent', 'alphayax-rest');
$rest->GET();

print_r( $rest->getCurlResponse());

More examples can be found in the exemple directory.

Documentation

Public functions signatures can be found here.