2017 © Pedro Peláez
 

library domain-certificate-check

A Zend Diagnostics check that notifies about the upcoming expiration of your domains.

image

wolnosciowiec/domain-certificate-check

A Zend Diagnostics check that notifies about the upcoming expiration of your domains.

  • Friday, March 31, 2017
  • by blackandred
  • Repository
  • 2 Watchers
  • 1 Stars
  • 29 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 7 % Grown

The README.md

DomainCertificateCheck

A Zend Diagnostics check that notifies about the upcoming expiration of your domains., (*1)

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 }

The Versions

31/03 2017

dev-master

9999999-dev

A Zend Diagnostics check that notifies about the upcoming expiration of your domains.

  Sources   Download

LGPLv3

The Requires

 

The Development Requires

31/03 2017

1.0.1

1.0.1.0

A Zend Diagnostics check that notifies about the upcoming expiration of your domains.

  Sources   Download

LGPLv3

The Requires

 

The Development Requires

31/03 2017

1.0

1.0.0.0

  Sources   Download

The Requires

 

The Development Requires