I have generated the token key in the chromeheadless.io website after created the account.
When we generate the pdf as per example, following error occurs.
Request failed: {"error":"Failed credential!"}
Source Code:
<?php
require_once "../../koolreport/autoload.php";
require_once "MyReport.php";
$report = new MyReport;
$tokey_key = 'my-token';
$report->run()->cloudExport("MyReportPDF")->chromeHeadlessio($tokey_key)->pdf()->toBrowser("myreport.pdf");