This PHP library provides basic access to the SSL Labs API. It's build upon the official API documentation.
<?php
require_once 'vendor/autoload.php';
$api = new \Andyftw\SSLLabs\Api();
try {
$info = $api->info();
echo $info->getStatus();
} catch (\Andyftw\SSLLabs\Exception\ApiException $e) {
echo $e->getMessage() . ' @ ' . $e->getCall();
}
Adding the following line should solve the problem
require_once 'vendor/autoload.php';
$loader = require_once 'vendor/autoload.php';
AnnotationRegistry::registerLoader(array($loader, "loadClass"));
Invoke assessment and check progress