victord11 / ssl-certification-health-check
A Laravel Health check to SSL certification
Installs: 92 543
Dependents: 0
Suggesters: 0
Security: 0
Stars: 14
Watchers: 2
Forks: 2
Open Issues: 0
Requires
- php: ^8.1
- spatie/ssl-certificate: ^2.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- pestphp/pest: ^1.23|^2.12
- pestphp/pest-plugin-laravel: ^1.4|^2.3
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-health: ^1.27
README
A Laravel Health check to ssl certification
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'), ]);
Documentation
The documentation of this package is available inside the docs of Laravel Health.
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.