t14d3/ssllabs-php

A PHP client for the SSL Labs API (unofficial)

Installs: 20

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/t14d3/ssllabs-php

dev-master 2025-09-22 12:26 UTC

This package is auto-updated.

Last update: 2025-12-22 13:03:15 UTC


README

This PHP library provides basic access to the SSL Labs API. It's build upon the official API documentation.

Quick start

<?php

require_once 'vendor/autoload.php';

$api = new \T14D3\SSLLabs\Api();

try {
    $info = $api->info();
    echo $info->getStatus(); // prints service status (e.g. 'READY')
} catch (\T14D3\SSLLabs\Exception\ApiException $e) {
    // exception includes a message and the failing call
    echo $e->getMessage() . ' @ ' . $e->getCall();
}

Methods

info()

Check SSL Labs availability

analyze()

Invoke assessment and check progress

getEndpointData()

Retrieve detailed endpoint information

getStatusCodes()

Retrieve known status codes

getRootCertsRaw()

Retrieve root certificates