PHP code example of octools / client

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

    

octools / client example snippets


return [
    /**
     * App token > env('OCTOOLS_CLIENT_APP_TOKEN', ''),
    
    /**
     * Endpoint url, production by default. Change it only for development.
     */
    'octools_api_url' => env('OCTOOLS_API_URL', 'https://app.octools.io/api')
];
bash
php artisan vendor:publish --provider="Octools\Client\OctoolsClientServiceProvider" --tag="config"