ApigilityClient is a lightweight library to consume Restful APIs built with Apigility.
- PHP 5.4.x
- Zend Framework >= 2.3
- level3/resource = 0.0.1
php composer.phar require guilhermewop/apigility-client:dev-master
Package information on Packagist
Put Zend\Http\Client options into your module.config.php file:
'http_client' => array(
'uri' => 'https://localhost:8888',
'options' => array(
'timeout' => 60,
'sslverifypeer' => false,
'keepalive' => true,
'adapter' => 'Zend\Http\Client\Adapter\Socket',
),
'headers' => array(
'Accept' => 'application/hal+json',
'Content-Type' => 'application/json',
),
)
Waiting psr7 be accepted to continue with the development