1. Go to this page and download the library: Download techulus/capture 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/ */
techulus / capture example snippets
use Techulus\Capture\Capture;
$client = new Capture('your-api-key', 'your-api-secret');
$imageUrl = $client->buildImageUrl('https://example.com');
echo $imageUrl;
use Techulus\Capture\Capture;
$client = new Capture('your-api-key', 'your-api-secret');
// Use edge endpoint for faster response times
$client = new Capture('your-api-key', 'your-api-secret', ['useEdge' => true]);