alphayax / rest
Tiny class to provide simple REST
Installs: 520
Dependents: 1
Suggesters: 1
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/alphayax/rest
Requires
- php: >=5.5.0
- ext-curl: *
Requires (Dev)
- alphayax/phpdoc_md: ^1.0.3
- codacy/coverage: dev-master
- phpunit/phpcov: 2.*
- phpunit/phpunit: ^4.8.9
This package is not auto-updated.
Last update: 2025-09-28 01:06:38 UTC
README
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.