syofyanzuhad/filament-connection-indicator
A Filament plugin that adds a live connection status indicator to your admin panel, alerting users when the browser goes offline or reconnects. Lightweight, easy to install, and works with any Filament panel with little to no configuration required.
Install the package with Composer, then register the plugin in the relevant Filament panel provider. Check the package README first for the exact plugin FQCN, render hook names, and config keys, since v1.0.0 is the initial release.
Minimal flow:
use Vendor\FilamentConnectionIndicator\ConnectionIndicatorPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugin(
ConnectionIndicatorPlugin::make()
->dot()
->renderHook('panels::topbar.end')
);
}
First useful use case: add a subtle connection dot to the topbar so admin users notice when their browser goes offline before submitting forms or saving resources. Use ->bars() where you want a more visible signal-strength style indicator.
->dot() for compact layouts or ->bars() for dashboards where connection quality should be more prominent.->dot() / ->bars() for readability, or use ->style('dot') / ->style('bars') if you centralize style configuration.->renderHook(...) to place the indicator in the topbar, header, footer, or user menu. Confirm exact Filament hook constants/strings in the README and keep placement consistent across panels.navigator.onLine can also report “online” on captive portals or broken LANs.How can I help you explore Laravel packages today?