PHP code example of guilhermewop / apigility-client

1. Go to this page and download the library: Download guilhermewop/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/ */

    

guilhermewop / apigility-client example snippets


'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',
    ),
)