naturalbuild/fetch-ssl-info

Fetch SSL info using php

v1.0.0 2019-04-28 18:17 UTC

This package is not auto-updated.

Last update: 2024-12-17 18:57:25 UTC


README

FETCH SSL INFO USING PHP

require_once "vendor/autoload.php";


$certInfo = Ssl\Ssl::getSSLinfo('stackoverflow.com'); 
echo $certInfo->validFrom .'<br>';
echo $certInfo->validTo .'<br>';
echo $certInfo->issuer .'<br>';
echo $certInfo->validity .'<br>';
echo $certInfo->validitytot .'<br>';
echo $certInfo->crtValRemaining .'<br>';