punkstar/ssl
最新稳定版本:0.5.1
Composer 安装命令:
composer require punkstar/ssl
包简介
PHP library for reading and understanding SSL certificates.
关键字:
README 文档
README
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'));
统计信息
- 总下载量: 23.43k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 18
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-07-24