1. Go to this page and download the library: Download devture/browserless 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/ */
devture / browserless example snippets
$browserlessApiUrl = 'http://localhost:3000'; // Or 'http://browserless:3000', etc.
$browserlessToken = 'SOME_TOKEN_HERE';
$browserlessTimeoutSeconds = 15;
$client = new \Devture\Component\Browserless\Client(
new \GuzzleHttp\Client(),
$browserlessApiUrl,
$browserlessToken,
$browserlessTimeoutSeconds,
);