serbanghita / generic-api-client
A generic API client with basic HTTP support written in PHP.
dev-master
2014-11-05 18:50 UTC
Requires
- php: >=5.3.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-19 06:34:47 UTC
README
A generic API client with basic HTTP support written in PHP.
- HTTP transport via
cURL
orsockets
- Support for
JSON-RPC
orREST
API endpoints
$options = array( 'uri' => 'http://www.raboof.com/projects/jayrock/demo.ashx', 'jsonrpc' => '2.0' ); $client = new \Client\JsonRPC($options); $response = $client->call_add(1, 2); var_dump($response);
Changelog
1.0.0
- First beta version, supportsJSON-RPC
APIs andcURL
transfer.