spatie/laravel-dashboard-oh-dear-uptime-tile
Laravel Dashboard tile that shows which monitored sites are currently down according to Oh Dear. Use it to surface uptime incidents at a glance on your dashboard.
https://your-site.com).composer require spatie/laravel-dashboard
composer require spatie/laravel-dashboard-oh-dear-uptime-tile
// config/oh-dear.php (if exists)
'api_key' => env('OH_DEAR_API_KEY'),
<x-dashboard-tile :tile="\Spatie\OhDearUptimeTile\OhDearUptimeTile::class" />
env() or a secrets manager).cache()->remember) to reduce calls.log() or Oh Dear’s API logs to diagnose failures.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Oh Dear API downtime | Tile shows "No data" or errors. | Implement a fallback UI (e.g., "Oh Dear unavailable"). |
| Invalid API key | Tile fails to load. | Validate API key on config publish. |
| Oh Dear not monitoring sites | Tile shows incorrect status. | Add manual verification in setup. |
| Rate limit exceeded | API calls fail. | Cache responses aggressively. |
| Laravel Dashboard update breaks tile | Tile stops rendering. | Test in staging before deploying updates. |
| Stale cached data | Outdated uptime status displayed. | Set short cache TTL (e.g., 5 minutes). |
How can I help you explore Laravel packages today?