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.
Release 2.2.0 introduces system diagnostic tooling, asynchronous background alert queuing, static analysis upgrades to PHPStan Level 8, and enhanced system resilience with strict Throwable exception handling across all collectors and repositories.
SystemDoctor service and php artisan corewatch:doctor command for comprehensive server diagnostics across System, Database, Cache, Queue, Scheduler, Alerts, and Security.php artisan corewatch:test-alert command with interactive diagnostic feedback to verify Slack and Telegram channel delivery.SendQueuedAlertJob implementing ShouldQueue with backoff retries, configurable via COREWATCH_NOTIFICATIONS_QUEUE.doctor() method to CoreWatchManager and CoreWatch Facade for programmatic diagnostic checks.\Exception to \Throwable to prevent unhandled fatal application crashes.Fixes the dashboard showing raw translation keys like corewatch::title instead of readable text.
corewatch::title, corewatch::subtitle, etc. no longer appear when lang files fail to loadTranslation helper with built-in English fallbacks[@cw](https://github.com/cw) Blade directive for reliable localized stringsconfig.labels passed to Alpine.js for dynamic UI textcomposer update hamzi/corewatch
php artisan view:clear
php artisan cache:clear
If you published views earlier:
php artisan vendor:publish --tag=corewatch-views --force
Full diff: https://github.com/hamdyelbatal122/CoreWatch/compare/v2.1.0...v2.1.1
Full Changelog: https://github.com/hamdyelbatal122/corewatch/compare/v2.1.0...v2.1.1
Production-grade monitoring upgrade: static analysis, Prometheus export, SSL expiry alerts, failed jobs tracking, scheduler heartbeat, audit logging, and Arabic localization.
composer require hamzi/corewatch:^2.1
php artisan corewatch:install
// routes/console.php
Schedule::command('corewatch:heartbeat')->everyMinute();
Schedule::command('corewatch:check-health')->everyFiveMinutes();
| Feature | Endpoint / Command |
|---|---|
| Prometheus export | GET /corewatch/api/metrics/prometheus |
| SSL certificate expiry | Ops Insights widget |
| Failed queue jobs | Ops Insights widget |
| Scheduler heartbeat | php artisan corewatch:heartbeat |
/proc readsredis_flush, opcache_reset, etc.)ar) + English (en) translations
COREWATCH_METRICS_CACHE_TTL=5
COREWATCH_PROMETHEUS_ENDPOINT=true
COREWATCH_SSL_WARNING_DAYS=14
COREWATCH_AUDIT_LOG=true
Arabic UI: set 'locale' => 'ar' in config/app.php
Full Changelog: https://github.com/hamdyelbatal122/corewatch/compare/v2.0.0...v2.1.0
The biggest release yet. CoreWatch is now a production-grade Laravel package built on Clean Architecture — designed for developers who want embedded DevOps monitoring without external daemons.
composer require hamzi/corewatch
php artisan corewatch:install
Open /corewatch — done.
HealthThresholdEvaluator, Alert value object, AlertSeverity enumLogFilterDto, DashboardConfigDto)use Hamzi\CoreWatch\Facades\CoreWatch;
CoreWatch::metrics();
CoreWatch::health(); // uptime monitors & K8s probes
CoreWatch::readLogs('laravel');
CoreWatch::runService('cache_clear');
| Feature | Description |
|---|---|
GET /corewatch/api/health |
Returns 200 healthy / 503 degraded |
php artisan corewatch:install |
One-command setup with production checklist |
ThresholdBreached event |
Hook PagerDuty, Discord, email, or any channel |
queue:restart (was broken with php artisan queue:restart)^8.2^11.0 | ^12.0 | ^13.0Full diff: https://github.com/hamdyelbatal122/CoreWatch/compare/v1.0.5...v2.0.0
How can I help you explore Laravel packages today?