wolnosciowiec/domain-certificate-check
Composer 安装命令:
composer require wolnosciowiec/domain-certificate-check
包简介
A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
README 文档
README
A Zend Diagnostics check that notifies about the upcoming expiration of your domains.
Configuration
- domains: List of domains eg. ['wolnosciowiec.net', 'cdn1.wolnosciowiec.net']
- daysRemainingToWarn: Days remaining to raise a warning for a domain
- daysRemainingToFail: Days remaining to raise a failure for domain, if you have Zend Diagnostics in composer then eg. the deployment could be cancelled and marked as failed
Setup in plain PHP
<?php $runner = new Runner(); $check = new Wolnosciowiec\DomainCertificateCheck\Check\DomainCertificateCheck( ['wolnosciowiec.net', 'cdn1.wolnosciowiec.net'], 14, 3 ); $results = $runner->run();
Integration with Symfony and LiipMonitorBundle
services:
monitor.check.domain_certificate:
class: Wolnosciowiec\DomainCertificateCheck\Check\DomainCertificateCheck
arguments:
domains: ['wolnosciowiec.net', 'cdn1.wolnosciowiec.net']
daysRemainingToAlert: 14
daysRemainingToWarn: 3
tags:
- { name: liip_monitor.check, alias: domain_certificate }
统计信息
- 总下载量: 56
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPLv3
- 更新时间: 2017-03-31