Skip to content
/ rest Public

Simple project using curl toprovide REST in object oriented style

Notifications You must be signed in to change notification settings

alphayax/rest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple project using curl toprovide REST in object oriented style

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages