2017 © Pedro Peláez
 

library ssllabs-php

SSL Labs API PHP-Port

image

andyftw/ssllabs-php

SSL Labs API PHP-Port

  • Wednesday, May 25, 2016
  • by andyftw
  • Repository
  • 1 Watchers
  • 4 Stars
  • 5,192 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 15 % Grown

The README.md

SSL Labs API PHP-Port

This PHP library provides basic access to the SSL Labs API. It's build upon the official API documentation., (*1)

Build Status Latest Stable Version License, (*2)

<?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();
}

Register annotation handler

Adding the following line should solve the problem, (*3)

require_once 'vendor/autoload.php';
$loader = require_once 'vendor/autoload.php';
AnnotationRegistry::registerLoader(array($loader, "loadClass"));

Methods

info()

Check SSL Labs availability, (*4)

analyze()

Invoke assessment and check progress, (*5)

getEndpointData()

Retrieve detailed endpoint information, (*6)

getStatusCodes()

Retrieve known status codes, (*7)

getRootCertsRaw()

Retrieve root certificates, (*8)

The Versions

25/05 2016

dev-master

9999999-dev https://github.com/andyftw/ssllabs-php

SSL Labs API PHP-Port

  Sources   Download

MIT

The Requires

 

The Development Requires

ssllabs

25/05 2016

v1.2

1.2.0.0 https://github.com/andyftw/ssllabs-php

SSL Labs API PHP-Port

  Sources   Download

MIT

The Requires

 

The Development Requires

ssllabs

11/05 2016

v1.1

1.1.0.0 https://github.com/andyftw/ssllabs-php

SSL Labs API PHP-Port

  Sources   Download

MIT

The Requires

 

The Development Requires

ssllabs

10/05 2016

v1.0

1.0.0.0 https://github.com/andyftw/ssllabs-php

SSL Labs API PHP-Port

  Sources   Download

MIT

The Requires

 

The Development Requires

ssllabs