guilhermewop / apigility-client
API Client for Restful APIs built with apigility
v0.3.1
2015-03-23 21:13 UTC
Requires
- php: >=5.4
- ext-json: *
- ext-mbstring: *
- level3/resource: 0.0.1
- zendframework/zendframework: >=2.3,<3.0.0
Requires (Dev)
- fabpot/php-cs-fixer: 0.4.*
- phpunit/phpunit: 4.4.*
This package is not auto-updated.
Last update: 2024-10-26 18:06:24 UTC
README
ApigilityClient is a lightweight library to consume Restful APIs built with Apigility.
Requirements
- PHP 5.4.x
- Zend Framework >= 2.3
- level3/resource = 0.0.1
Installation
Using composer (recommended)
php composer.phar require guilhermewop/apigility-client:dev-master
Package information on Packagist
Configuration
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', ), )
Goals
Waiting psr7 be accepted to continue with the development