PHP code example of adrianmejias / laravel-ssllabs

1. Go to this page and download the library: Download adrianmejias/laravel-ssllabs library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

adrianmejias / laravel-ssllabs example snippets




use AdrianMejias\SslLabs\SslLabsFacade as SslLabs;
// or use SslLabs;

$info = SslLabs::info();

$info = [
    'engineVersion' => '2.1.10',
    'criteriaVersion' => '2009q',
    'maxAssessments' => 25,
    'currentAssessments' => 0,
    'newAssessmentCoolOff' => 1000,
    'messages' => [
        'This assessment service is provided free of charge by Qualys SSL Labs, subject to our terms and conditions: https://www.ssllabs.com/about/terms.html',
    ],
];