This package contains a Laravel Health check that ssl certification valid and soon expired. It can send you a notification when SSL Certification is InValid and Certification soon expiration.
// typically, in a service provider
use Spatie\Health\Facades\Health;
use VictoRD11\SslCertificationHealthCheck\SslCertificationExpiredCheck;
use VictoRD11\SslCertificationHealthCheck\SslCertificationValidCheck;
Health::checks([
SslCertificationExpiredCheck::new()->url('google.com')->warnWhenSslCertificationExpiringDay(15)->failWhenSslCertificationExpiringDay(10),
SslCertificationValidCheck::new()->url('google.com'),
]);
The documentation of this package is available inside the docs of Laravel Health.
composer test
Please see CHANGELOG for more information on what has changed recently.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.