hamzi/corewatch
Embedded DevOps dashboard for Laravel: monitor CPU/RAM/disk, processes, and huge logs via /proc with zero external daemons. Secure whitelisted commands, health endpoint, and scheduled alerts (Slack/Telegram). Works with Livewire and admin panels like Filament/Nova.
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?