mnhcc / apigility-client
API Client for Restful APIs built with apigility
0.3.7
2017-11-20 19:40 UTC
Requires
- php: >=5.6
- ext-json: *
- ext-mbstring: *
- level3/resource: 0.0.1
- zendframework/zendframework: >=2.4 | 3.0.*
Requires (Dev)
- friendsofphp/php-cs-fixer: 2.8.*
- phpunit/phpunit: 6.4.*
README
This is a fork of guilhermewop/apigility-client. ApigilityClient is a lightweight library to consume Restful APIs built with Apigility.
Requirements
- PHP 5.6.x
- Zend Framework >= 2.4/3.0
- 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' => [ 'uri' => 'https://localhost:8888', 'options' => [ 'timeout' => 60, 'sslverifypeer' => false, 'keepalive' => true, 'adapter' => \Zend\Http\Client\Adapter\Socket::class, ], 'headers' => [ 'Accept' => 'application/hal+json', 'Content-Type' => 'application/json', ], ]
Goals
Waiting psr7 be accepted to continue with the development