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

Product Decisions This Supports

  • Observability Stack Consolidation: Eliminates the need for third-party SaaS tools (e.g., Datadog, New Relic) or self-hosted solutions (e.g., Prometheus + Grafana) by embedding core monitoring directly into Laravel. Reduces operational overhead and vendor lock-in.
  • DevOps Efficiency: Accelerates incident response by providing real-time log streaming, server metrics, and a "safe ops" panel (e.g., graceful shutdowns, process management) without context-switching to external dashboards.
  • Cost Optimization: Avoids recurring SaaS costs for small-to-medium Laravel applications, especially for startups or internal tools where observability is critical but budgets are constrained.
  • Roadmap Alignment: Ideal for teams prioritizing developer experience (DX) and platform reliability. Supports:
    • Feature Flagging: Integrate with Filament for feature toggles tied to health metrics.
    • SRE Practices: Automate alerting thresholds (e.g., CPU/memory spikes) and tie to Slack/PagerDuty via webhooks.
    • Multi-Environment Parity: Standardize monitoring across dev/staging/prod with minimal configuration drift.
  • Build vs. Buy: Buy for Laravel-native teams; build only if requiring custom metrics or non-PHP integrations (e.g., Kubernetes).

When to Consider This Package

  • Avoid if:
    • You need advanced APM (e.g., transaction tracing, flame graphs) → Use Laravel Telescope + Blackfire or New Relic.
    • Your stack is non-PHP (e.g., Node.js, Go) → Use Prometheus or OpenTelemetry.
    • You require distributed tracing across microservices → Jaeger or Zipkin.
    • Your team lacks PHP/Laravel expertise → Higher learning curve than SaaS alternatives.
  • Consider if:
    • You’re a Laravel-first shop needing lightweight, embedded observability.
    • Your app is serverless or containerized (CoreWatch supports Docker/Kubernetes metrics).
    • You want to reduce tooling complexity (no external daemons, agents, or databases required).
    • Your alerting needs are basic (e.g., "CPU > 90% for 5 mins") but tied to Laravel’s ecosystem.

How to Pitch It (Stakeholders)

For Executives:

"CoreWatch lets us monitor and debug our Laravel apps without adding SaaS costs or operational complexity. It’s like having a built-in DevOps dashboard—server health, real-time logs, and safe operations (e.g., restarting queues)—all within our app. For [X] dollars/year, we’d pay for [Y] SaaS tool; instead, we get this for free, with no vendor lock-in. It’s a 10x productivity boost for our SRE team and reduces MTTR (mean time to resolve) for incidents."

Key Metrics to Track:

  • Reduction in incident resolution time (e.g., "Logs now accessible in 1 click vs. 10").
  • Cost savings (e.g., "$50K/year avoided" by not using Datadog).
  • Developer happiness (fewer context switches, fewer "works on my machine" issues).

For Engineering:

*"CoreWatch is a zero-config, Laravel-native observability layer that:

  1. Replaces top/htop + tail -f with a unified dashboard (metrics + logs).
  2. Integrates with Filament for a polished UI (no custom frontend work).
  3. Alerts via webhooks (e.g., trigger Slack/PagerDuty when CPU spikes).
  4. No external dependencies—just drop it into composer.json and go.

Trade-offs:

  • Not a full APM: No deep PHP profiling (use Xdebug for that).
  • Self-hosted: You manage the data (but it’s lightweight; no Prometheus-scale ops).

Proposal:

  • Pilot: Install in staging for 2 weeks; measure if it reduces debug time by >30%.
  • Scale: Roll out to prod if it meets the bar, then extend to other Laravel apps.
  • Extend: Build custom metrics (e.g., queue job latency) via the Developer API."*

Tech Deep Dive:

  • Architecture: Lightweight PHP processes + SQLite (default) or MySQL for storage.
  • Extensibility: Hook into Laravel’s booted event or use the CoreWatch::metric() API to emit custom data.
  • Security: MIT-licensed, no telemetry by default (opt-in for analytics).
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