spatie/uptime-monitor-app
Laravel-based PHP app to monitor website uptime and SSL certificate expiry. Notifies you when sites go down or recover, and before certificates expire, via Slack or email. Easy to install with Composer and runs via Laravel scheduler/cron.
file_get_contents() for checks, which may not support custom headers, proxies, or advanced HTTP/2 use cases without modification.laravel-uptime-monitor?
| Current State | Migration Strategy | Effort |
|---|---|---|
| No monitoring | Direct install of spatie/uptime-monitor-app (Dockerized Laravel 5.3). |
Low |
| Legacy Laravel 5.x | Reuse existing Laravel setup; install package via Composer. | Low |
| Modern Laravel | Fork and upgrade to Laravel 10+ (or use laravel-uptime-monitor standalone). |
High |
| Non-Laravel PHP | Create a custom wrapper (e.g., Symfony bundle) or expose via API. | Medium-High |
| Cloud-Native | Replace with third-party SaaS (e.g., Pingdom, UptimeRobot) or rewrite in Go/Python. | High |
guzzlehttp/guzzle (for HTTP checks).spatie/laravel-activitylog (for event logging).spatie/laravel-slack-notification (for Slack alerts).guzzlehttp/guzzle (used for HTTP checks) may need manual updates.failed_attempts table).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Laravel 5.3 security breach | Data exposure, RCE via unpatched vulnerabilities. | Isolate in a VPC/container; monitor for exploits. |
| Database corruption | Lost monitoring history (no backups). | Enable automated DB backups; use read replicas. |
| Slack/email provider outage | No alerts during critical failures. | Implement multi-channel notifications (e.g., SMS + PagerDuty). |
| PHP process crashes | Missed checks; false negatives. | Use PM2/Supervisor for process management; add health checks. |
| SSL certificate checks fail | False positives/negatives in expiry warnings. | Validate against public CRLs/OCSP (custom logic). |
How can I help you explore Laravel packages today?