Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1.48 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.48 KB

Rest

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.