PHP code example of mnhcc / apigility-client
1. Go to this page and download the library: Download mnhcc/apigility-client library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mnhcc / apigility-client example snippets
'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',
],
]