Download the PHP package illuma-law/healthcheck-mail without Composer
On this page you can find all versions of the php package illuma-law/healthcheck-mail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download illuma-law/healthcheck-mail
More information about illuma-law/healthcheck-mail
Files in illuma-law/healthcheck-mail
Package healthcheck-mail
Short Description Focused mail health check for Spatie's Laravel Health package.
License MIT
Homepage https://github.com/illuma-law/healthcheck-mail
Informations about the package healthcheck-mail
Healthcheck mail for Laravel
A focused mail health check for Spatie's Laravel Health package.
This package provides a simple, direct health check to verify that your application's SMTP server is reachable and accepting TCP connections.
Features
- Connectivity Check: Verifies that your Laravel application can successfully connect to the configured SMTP host and port.
- Latency Monitoring: Measures the response time of the SMTP connection.
- Smart Skipping: Automatically skips the check if the default mailer is set to
log,array,fail, ornull.
Installation
Require this package with composer:
Usage & Integration
Register the check inside your application's health service provider (e.g. AppServiceProvider or a dedicated HealthServiceProvider), alongside your other Spatie Laravel Health checks:
Basic Registration
Expected Result States
The check interacts with the Spatie Health dashboard and JSON endpoints using these states:
- Ok: SMTP server is reachable and accepting connections.
- Skipped: The default mailer is not an SMTP-based driver.
- Failed: SMTP server was unreachable, or the mailer configuration is missing.
Testing
Run the test suite:
License
The MIT License (MIT). Please see License File for more information.
All versions of healthcheck-mail with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^11.0||^12.0||^13.0
illuminate/database Version ^11.0||^12.0||^13.0
illuminate/support Version ^11.0||^12.0||^13.0
spatie/laravel-health Version ^1.39