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 Breakpoint Badge Laravel Package

chrisreedio/filament-breakpoint-badge

A Filament plugin that adds a badge displaying the current responsive breakpoint (sm, md, lg, xl) in your admin panel, so you can see at a glance which screen size is active. Ideal for debugging Tailwind breakpoints while building and testing responsive layouts.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Initial baseline assessment — established at v3.0.1 (no prior assessment on file).

Architecture fit chrisreedio/filament-breakpoint-badge is a single-purpose Filament panel plugin that surfaces the active Tailwind responsive breakpoint in the admin UI. Architecturally it is near-zero-friction: a Laravel package with a service provider that registers a render hook into the Filament topbar/user menu, plus a small client-side asset that reads the viewport width and resolves it against the breakpoint set. No models, no migrations, no routes, no persistence, no queue or scheduler footprint. It sits entirely inside the presentation layer of the admin panel and therefore has no coupling to our domain code. Fit is good for any Laravel + Filament 3 application; it is irrelevant outside Filament panels.

Integration feasibility Registration is a one-line ->plugin(BreakpointBadgePlugin::make()) in the Panel provider plus a composer require. Realistic effort is well under a day including QA verification, most of which is environment and deploy-pipeline validation rather than code. v3.0.1 is a maintenance patch: two GitHub Actions bumps (checkout 3→4, git-auto-commit-action 4→5, both CI-only and inert at runtime) and a dependency refresh for Laravel 11. There are no API, namespace, hook, or config changes, so the integration surface described above is unchanged from v3.0.0.

Technical risk Overall risk is low, concentrated in version-alignment rather than code quality:

  • Framework drift — the release signals Laravel 11 readiness but says nothing about Filament 4. Because the package hooks into Filament's render pipeline, a Filament major bump is the realistic breakage vector.
  • Configuration drift — if we customize tailwind.config.js screens (e.g. adding 3xl or renaming breakpoints), the badge may report Tailwind defaults rather than our actual breakpoints unless the plugin exposes configuration.
  • Supply chain / bus factor — single maintainer, small package, low download volume. Mitigant: the package is tiny and MIT-licensed, so a fork-and-maintain fallback is cheap. No security-sensitive surface (no auth, no input handling, no external calls).
  • Release hygiene signal — v3.0.1 is composed entirely of Dependabot PRs and a dependency refresh; that is healthy automation but indicates no recent feature investment. Treat this as a stable-but-dormant utility, not an actively evolving component.

Key questions

  1. What are the declared composer.json constraints for php, illuminate/*, and filament/filament? Is Filament 4 supported or explicitly excluded?
  2. Are custom Tailwind breakpoints configurable, or hardcoded to defaults?
  3. Can the badge be restricted to non-production panels / specific roles, or is it always visible to every panel user?
  4. Is there CI beyond Dependabot (tests, static analysis), and is there any test coverage of the render hook?
  5. Is asset delivery via published public assets or Vite, and does that interact with our deploy caching strategy?

Integration Approach

Stack fit Targets Laravel 10/11 with Filament 3 and PHP 8.1+. Requires no database, no environment variables, no external services, and no changes to existing application configuration beyond the Panel provider. It is additive and isolated, so it can be adopted as a developer-experience enhancement without touching business logic.

Migration path

  • From v3.0.0 → v3.0.1: drop-in. Patch-level release; only CI workflow versions and dependency constraints changed. No code, config, or API changes to reconcile. Standard composer update chrisreedio/filament-breakpoint-badge and redeploy.
  • From v2.x (Filament 2 era): not drop-in. Plugin registration API and namespaces differ across the Filament 2→3 boundary; treat as a re-integration, not an upgrade, and only pursue if we still have Filament 2 panels.
  • New adoption: install directly at ^3.0 to capture the Laravel 11 constraint relaxation.

Compatibility Pin to ^3.0 and let the patch line float. The constraint change in v3.0.1 is the material item — it widens the allowed Laravel range, which reduces the chance of a Composer conflict in our root project. Verify against our lockfile before merging; a dependency-bump release can still surface transitive conflicts even when the package code is unchanged.

Sequencing

  1. composer require --dev in a feature branch; inspect resolved constraints against our lockfile.
  2. Register the plugin in a non-production panel only (local/staging) and confirm the badge renders and reports our configured breakpoints.
  3. Validate the deploy path (asset publish/cache commands) on staging to catch the most likely operational failure — a missing asset after config:cache/view:cache.
  4. Decide on production exposure (recommend: gated to non-production or to super-admin), then promote.
  5. Re-evaluate at any Filament major upgrade as a gating checklist item.

Operational Impact

Maintenance Minimal. Expect periodic Dependabot-driven patch releases with no functional content — v3.0.1 is exactly that shape. Budget a light quarterly review: composer audit, confirm the Filament constraint still matches our panel version, and confirm the plugin still renders after framework upgrades. Because the package is small and MIT-licensed, the maintenance ceiling is a fork, not a rewrite.

Support No vendor SLA; single-maintainer project with a README-level documentation surface. Internal ramp-up is trivial (one line of registration), so support burden effectively lands on the owning team rather than upstream. Escalation path for a blocking bug is a local patch or fork — acceptable given the code size, but should be acknowledged rather than assumed.

Scaling No meaningful scaling characteristics: rendering is client-side, payload is a few KB, there is no server-side work per request, no storage, and no background processing. It will not affect panel performance or capacity planning at any user count.

Failure modes

  • Silent non-rendering after a Filament upgrade — render hook name or panel API changes; badge simply disappears. Low blast radius, but easy to miss without a smoke test.
  • Asset staleness after deploy — published assets not refreshed, or cache commands invalidating the JS. Most likely real-world failure; caught by a staging deploy check.
  • Incorrect breakpoint reporting — custom Tailwind screens not reflected, producing misleading developer feedback. Worse than no badge, because it misleads QA.
  • Information exposure — badge visible to non-technical panel users, surfacing internal layout internals. Cosmetic severity, but argues for role or environment gating.
  • Abandonment — no further releases. Mitigated by forkability; not a blocking risk.

Ramp-up Under an hour for any Laravel developer to install and verify. No new concepts introduced beyond standard Filament plugin registration. Primary onboarding need is a one-paragraph note in the panel documentation stating the badge exists, that it is environment/role-gated, and that it must be re-verified at each Filament major upgrade.

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/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
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route