1. Go to this page and download the library: Download useburrow/sdk-php 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/ */
useburrow / sdk-php example snippets
use Burrow\Sdk\Client\BurrowClient;
use Burrow\Sdk\Transport\CurlHttpTransport;
use Burrow\Sdk\Transport\RetryPolicy;
$transport = new CurlHttpTransport(
timeoutSeconds: 8,
retryPolicy: new RetryPolicy(maxAttempts: 3, baseDelayMilliseconds: 200)
);
$client = new BurrowClient(
baseUrl: 'https://app.useburrow.com',
apiKey: 'your-plugin-api-key',
transport: $transport
);