Weave 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

Filament Connection Badge Laravel Package

rawand201/filament-connection-badge

A drop-in connection status badge for Filament panels: a signal-bars icon in the topbar, a live ping graph on hover, and a full-screen overlay when the connection drops. Supports Filament v4 and v5, RTL, dark mode, permissions, and custom render hooks.

View on GitHub
Deep Wiki
Context7
1.0.1

Security

  • Pin GitHub Actions (actions/checkout, shivammathur/setup-php) to a commit SHA instead of a mutable tag.
  • Add Dependabot config for composer and github-actions, with a cooldown period before updates are opened.
  • Add SECURITY.md describing the heartbeat endpoint's threat surface and a private vulnerability disclosure process.

Changed

  • Exclude phpstan.neon.dist from the released dist archive via .gitattributes.
1.0.0

Added

  • Topbar connection badge with signal levels: full, medium, low, offline (Filament --success-* / --warning-* / --danger-* tokens).
  • Heartbeat route: /_filament-connection-badge/ping (named filament-connection-badge.ping) — JSON ping so latency reflects the Laravel app (router + middleware), not only static files.
  • Hover tooltip with rolling ping sparkline, average / last ping, packet loss, host.
  • Full-screen offline overlay until the connection recovers.
  • Config: enabled, render_hook (default panels::user-menu.before), permission (optional can() for badge + ping), show_label, show_overlay, route.prefix, route.middleware, route.throttle / FILAMENT_CONNECTION_BADGE_THROTTLE, ping_url, ping_interval, thresholds, max_samples.
  • Filament v4 and v5 (render hook registration).
  • RTL-friendly CSS (logical properties); numeric/ping graph stays LTR where needed.
  • Translations: English (en), Arabic (ar), Kurdish Sorani (ckb).
  • Frontend sources: resources/js and resources/css; composer sync-assets mirrors into resources/dist for optional vendor:publish assets.
  • PHPStan (level 6) + Larastan on src/, composer analyse, CI (Pint + PHPStan + Pest).
  • Tests for config defaults, heartbeat JSON, ping forbidden when permission is set for guests, and disabled package (no ping route).

Changed

  • When enabled is false, the service provider skips Filament assets, routes, and render hooks.
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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin