hamzi/corewatch
CoreWatch is a zero-dependency DevOps dashboard for Laravel that reads /proc directly to monitor CPU, RAM, and disk, streams huge logs with O(1) memory, runs whitelisted commands safely, sends alerts, and exposes a health endpoint.
php artisan corewatch:doctor — a one-command diagnostic across System, Database, Cache, Queue, Scheduler, Alerts, and Security — turning "is the platform healthy?" into a scriptable, repeatable check rather than a manual runbook.corewatch:doctor gives a guided first-run health check and corewatch:test-alert verifies Slack/Telegram delivery interactively — collapsing what used to be a multi-day "configure and hope" setup into minutes. This is a concrete onboarding accelerator and a strong pilot success criterion.SendQueuedAlertJob (ShouldQueue, backoff retries, configurable via COREWATCH_NOTIFICATIONS_QUEUE) removes the biggest scaling objection to self-hosted alerting — slow or failing webhook calls no longer block request handling or drop alerts during traffic spikes.CoreWatch::doctor() on the Facade and CoreWatchManager exposes diagnostics programmatically, enabling scheduled health probes, pre-deploy gates, and alerts tied to health metrics — without shelling out to artisan.\Exception to \Throwable across collectors, controllers, repositories, and actions. This directly answers the standard security-review objection: an observability tool must never be the thing that crashes the app.corewatch:doctor + corewatch:test-alert let a single engineer validate an environment end-to-end, with no dedicated observability owner.CoreWatch::doctor() fits naturally into scheduled commands, deploy gates, and health-check endpoints."CoreWatch lets us monitor and debug our Laravel apps without adding SaaS costs or operational complexity — a built-in DevOps dashboard covering server health, real-time logs, alerting, and safe operations (e.g., restarting queues). The new 2.2.0 release adds a built-in server doctor that diagnoses the app and its surrounding infrastructure in one command, and makes alerting queue-backed and retry-safe, so we don't miss incidents when traffic spikes. Where we'd otherwise pay [X] dollars/year for [Y] SaaS tool, we get this for free, with no vendor lock-in and no telemetry by default. It's a 10x productivity boost for our SRE team and reduces MTTR."
Key Metrics to Track:
corewatch:doctor + test-alert)."CoreWatch is a zero-config, Laravel-native observability layer. In 2.2.0 it becomes genuinely production-defensible:
php artisan corewatch:doctor — full diagnostics across System, Database, Cache, Queue, Scheduler, Alerts, and Security. Also available programmatically via CoreWatch::doctor(), so you can wire it into deploy gates and scheduled health checks.php artisan corewatch:test-alert — interactive verification of Slack/Telegram delivery. No more silent misconfigured webhooks.SendQueuedAlertJob implements ShouldQueue with backoff retries, configurable via COREWATCH_NOTIFICATIONS_QUEUE. Alerting no longer blocks the request cycle. Requires a running queue worker.\Exception to \Throwable across collectors, controllers, repositories, and actions. The monitoring layer cannot take down the app it monitors.Trade-offs:
Proposal:
corewatch:doctor to baseline, corewatch:test-alert to validate channels, and measure whether debug time drops >30% in 2 weeks.How can I help you explore Laravel packages today?