phoenix1331/filament-headroom
Filament Headroom adds a Headroom.js-powered collapsing header to your Filament panels: the top bar hides as you scroll down and slides back when you scroll up, freeing vertical space while keeping navigation within reach. Lightweight and easy to configure.
laravel-ai-headroom does pre-flight context/limit checks, laravel-ai-headroom-ledger records entries, filament-headroom renders them). If your team has already standardised on Filament for internal admin, this replaces a bespoke dashboard or a SaaS observability subscription with in-house rendering over data you already own.scopeToTenant() plus tagLabel() turn the ledger into per-tenant AI cost allocation. This supports pricing decisions (who absorbs inference cost), fair-use policy, and per-tenant usage conversations — but see the caveats below before treating it as billing input.allowForgettingTags() and the "Forget a tag value" action map a data-subject erasure request onto a context tag through the ledger's forgetTag(). This is a policy decision with a UI attached; it materially changes your compliance story and should be reviewed before enabling./headroom pages, you can stage rollout: stats widget first for awareness, then requests/run views for the teams who need them. Adoption does not require a big-bang migration.Adopt when all of the following hold:
phoenix1331/laravel-ai-headroom-ledger ^0.1.1 — this package is a viewer, not a collector. Budget the integration work of getting entries into the ledger, which is where the real effort sits.[Unreleased] section, and the namespace suggests a small/single-maintainer surface. Plan for pinning and for reading changelogs, not for an SLA.Look elsewhere or build when:
laravel-ai-headroom; this only reports outcomes.Two adoption gates worth calling out to engineering: access is denied outside the local environment by default, so production rollout requires an explicit authorize() closure — good safe-by-default behaviour, but it will look like "the dashboard is broken" if not planned for. And the plugin stylesheet must be published via php artisan filament:assets, which belongs in your deploy pipeline.
To executives: We can turn on visibility into what our AI features cost and how reliably they run, inside the admin tool we already have, without buying another SaaS observability product or committing to a new vendor. It shows spend per model and provider, per agent, and — for multi-tenant products — per tenant, so we can have cost and pricing conversations backed by numbers instead of guesses. It ships with explicit labelling wherever a figure is an estimate rather than a billed amount, so nobody mistakes it for an invoice, and it includes a supported path for honouring data-erasure requests against the tags we record. The trade-off is maturity: this is a first release (0.1.0) with pre-1.0 dependencies and no support contract, so we should pilot it behind an explicit access rule and treat it as internal decision-support, not a system of record.
To engineering: It is a thin Filament 5 UI over the ledger you would write anyway — no new datastore, no agent, no network calls to a third party. You get pages and widgets you can disable or subclass via pages()/widgets(), widgets you can mount on your own dashboards, RangeSelect::make() for a consistent range filter, published translations, and published assets. Authorisation runs through a single authorize() closure receiving $user, defaulting to local-only, so the production gate is one deliberate line of config rather than a scatter of policies. Costs of entry: PHP 8.3+, Laravel 12/13, Filament 5, and two sibling 0.x packages to pin and track.
How can I help you explore Laravel packages today?