PHP code example of iaipes / apiclient

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

    

iaipes / apiclient example snippets


// Load dotenv if you have not (Not necessary in Laravel)
$dotenv = new Dotenv\Dotenv(__DIR__);
$dotenv->load();

use Iaipes\ApiClient\Http\Client\Api\V1\InformationRequestClient;

$client = new InformationRequestClient;

$response = $client->index([
        '
bash
php artisan vendor:publish --provider aipes\ApiClient\ApiClientServiceProvider