manzadey/certificate

Get information about the secure connection certificate for a domain

Fund package maintenance!
Open Collective

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/manzadey/certificate

v1.0 2020-08-24 23:04 UTC

This package is auto-updated.

Last update: 2025-09-26 00:44:32 UTC


README

Get information about the secure connection certificate for a domain

Install

composer require manzadey/certificate

Usage

Create class Certificate:

use Manzadey\Certificate\Certificate;

$info = new Certificate('google.com');

Get all info about certificate:

$info->all(); // array

Issuer:

$info->issuer(); // Google Trust Services

Domain:

$info->domain(); // ssl://google.com:443

Valid From:

$info->validFrom(); // 11.08.2020 11:53:40

Valid To:

$info->validTo(); // 03.11.2020 11:53:40

Experation date:

$info->experationDate(); // 84

Expires date

$info->expiresDate(); // 70