Skip to content
/ ssl Public
forked from punkstar/ssl

πŸ“š PHP library for reading and understanding SSL certificates

License

Notifications You must be signed in to change notification settings

trackssl/ssl

This branch is 1 commit ahead of punkstar/ssl:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bb967bc Β· Aug 18, 2023

History

39 Commits
Jun 9, 2019
Jul 11, 2020
Jul 11, 2020
Aug 18, 2023
Jul 11, 2020
Jul 24, 2016
Jul 24, 2016
Jul 11, 2020
Jul 11, 2020
Jul 24, 2016
Jul 11, 2020
Jul 24, 2016
Aug 9, 2018

Repository files navigation

Reading SSL Certificates

Build Status Scrutinizer Code Quality Code Coverage

This is a library for easily reading and understanding SSL certificates using PHP.

Installation

composer require punkstar/ssl

Usage

<?php
require_once __DIR__.'/vendor/autoload.php';
use Punkstar\Ssl\Reader;

$reader = new Reader();
$certificate = $reader->readFromUrl("https://github.com");

printf("Name: %s\n", $certificate->certName());
printf("Valid To: %s\n", $certificate->validTo()->format('r'));
printf("Valid From: %s\n", $certificate->validFrom()->format('r')); 

About

πŸ“š PHP library for reading and understanding SSL certificates

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%