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
Requires
- php: >=7.4
- jms/serializer: ^3.32.0
Requires (Dev)
- phpunit/phpunit: ~12.3.12
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()
analyze()
Invoke assessment and check progress
getEndpointData()
Retrieve detailed endpoint information