PHP code example of agathaglobaltech / ag-laravel-sdk

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

    

agathaglobaltech / ag-laravel-sdk example snippets


return [
    'token' => env('ANNUITIES_GENIUS_TOKEN'),

    'base_url' => env('ANNUITIES_GENIUS_BASE_URL', 'https://app.annuitiesgenius.com/api'),

    'cache' => [
        'enabled' => env('ANNUITIES_GENIUS_CACHE_ENABLED', false),
        'hours' => 24,
    ],
];
bash
php artisan vendor:publish --tag="sdk-config"