spatie/laravel-health
Monitor your Laravel app’s health by registering checks (disk space, etc.) with warning/fail thresholds. Get notified via mail or Slack when checks degrade, and extend with custom checks for proactive alerting.
django-health-check, express-health).sysstat or cloud-native tools (AWS CloudWatch).*"This package turns ‘firefighting’ into ‘prevention.’ By automating health checks for our Laravel apps—like disk space, API uptime, or queue backlogs—we’ll:
*"This is a drop-in solution for Laravel’s observability gap. Key wins:
UsedDiskSpaceCheck, DatabaseConnectionCheck).ThirdPartyAPICheck for Stripe/PayPal).InMemoryHealthResultStore, then add DB storage if needed.
Trade-offs: Minimal performance overhead (~50ms per check); requires scheduling the RunHealthChecksCommand (every minute)."**"This package solves the ‘how do I monitor X?’ problem without reinventing the wheel. Here’s how to use it:
composer require spatie/laravel-health.UsedDiskSpaceCheck::new()->failAt(90%)).CheckIfFeatureFlagIsEnabled).
Pro Tip: Use the ?fresh endpoint for external monitoring (e.g., Terraform Cloud or Datadog checks).
Alternatives: If you need more, pair with spatie/laravel-monitoring for logs or laravel-debugbar for debugging."*How can I help you explore Laravel packages today?