Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Corewatch Laravel Package

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.

View on GitHub
Deep Wiki
Context7
v2.1.1

🛠️ CoreWatch v2.1.1 — Hotfix

Fixes the dashboard showing raw translation keys like corewatch::title instead of readable text.


🐛 Fixed

  • Translation keys in UIcorewatch::title, corewatch::subtitle, etc. no longer appear when lang files fail to load
  • Translation helper with built-in English fallbacks
  • [@cw](https://github.com/cw) Blade directive for reliable localized strings
  • config.labels passed to Alpine.js for dynamic UI text
  • Disk workspace path display (no more aggressive truncation)
  • Process table PID/CPU/MEM alignment
  • "Total Tables Count" → "Table Count"

📦 Update

composer 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

What's Changed

New Contributors

Full Changelog: https://github.com/hamdyelbatal122/corewatch/compare/v2.1.0...v2.1.1

v2.1.0

🛡️ CoreWatch v2.1.0

Production-grade monitoring upgrade: static analysis, Prometheus export, SSL expiry alerts, failed jobs tracking, scheduler heartbeat, audit logging, and Arabic localization.


⚡ Quick Start

composer require hamzi/corewatch:^2.1
php artisan corewatch:install
// routes/console.php
Schedule::command('corewatch:heartbeat')->everyMinute();
Schedule::command('corewatch:check-health')->everyFiveMinutes();

✨ What's New

📊 Monitoring & Integrations

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

🔒 Security & Reliability

  • Audit log for every service command execution
  • Rate limiting on all API routes (60 req/min)
  • Metrics caching to reduce /proc reads
  • Dangerous commands disabled by default (redis_flush, opcache_reset, etc.)

🌍 Developer Experience

  • Arabic (ar) + English (en) translations
  • PHPStan Level 5 in CI
  • Dependabot + automated release workflow
  • 18 automated tests (up from 13)
  • Deployment Guide

🖼️ Dashboard Preview

CoreWatch Dashboard


📦 Configuration

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


🔗 Links

Full Changelog: https://github.com/hamdyelbatal122/corewatch/compare/v2.0.0...v2.1.0

v2.0.0

🛡️ CoreWatch v2.0.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.


⚡ Quick Start

composer require hamzi/corewatch
php artisan corewatch:install

Open /corewatch — done.


✨ What's New

🏗️ Clean Architecture

  • Contracts — 6 interfaces for dependency inversion
  • DomainHealthThresholdEvaluator, Alert value object, AlertSeverity enum
  • Application — 4 Actions + DTOs (LogFilterDto, DashboardConfigDto)
  • Infrastructure — 8 metric collectors, 3 repositories, Slack/Telegram notifiers
  • Http — thin controllers, Form Requests, centralized middleware

👨‍💻 Developer API

use Hamzi\CoreWatch\Facades\CoreWatch;

CoreWatch::metrics();
CoreWatch::health();      // uptime monitors & K8s probes
CoreWatch::readLogs('laravel');
CoreWatch::runService('cache_clear');

🔌 New Endpoints & Commands

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

📚 Documentation


🐛 Bug Fixes

  • Artisan queue restart now uses queue:restart (was broken with php artisan queue:restart)
  • Authorization gate config documented correctly
  • README badges point to the correct repository

📦 Requirements

  • PHP ^8.2
  • Laravel ^11.0 | ^12.0 | ^13.0

🔗 Links


Full diff: https://github.com/hamdyelbatal122/CoreWatch/compare/v1.0.5...v2.0.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
ecotone/kafka
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata