ashrafic/filament-white-label
White-label your Filament admin panel with ashrafic/filament-white-label. Easily replace Filament branding, logos, colors, and UI labels to deliver a fully customized, client-ready backend experience without touching core files.
Architecture fit. ashrafic/filament-white-label is a Laravel package that plugs into Filament as a panel plugin. Its job is branding/cosmetic layer control — logos, colors, naming, and related presentation concerns — rather than core application logic. That makes it a low-blast-radius dependency in theory: if it breaks, admins lose a themed UI, not business transactions. The caveat is that Filament plugins are often wired into the panel boot path, so a failure can take the whole admin panel down, which is exactly what the __PHP_Incomplete_Class bug class implies.
Integration feasibility. Standard Composer install with Laravel package discovery, a published config, and registration in the Filament panel provider. Low integration effort for a team already on Filament. The gating variable is Filament major-version compatibility, which this release note does not address.
Technical risk. The v1.0.8 change — “force class load before cache unserialize to prevent __PHP_Incomplete_Class” — is the most informative signal we have, and it is a yellow flag:
unserialize on cached payloads — remains. That is acceptable inside a trusted Laravel cache but is fragile across upgrades and shared cache backends.Key questions for the maintainer / proof-of-concept:
unserialize called with allowed_classes restricted?Stack fit. Only relevant to teams running Filament. If the admin panel is Filament-based, this package is a reasonable convenience wrapper over hand-rolling panel theming; if not, it is out of scope entirely. It is a presentation-layer dependency, so it should not leak into domain code.
Migration path. v1.0.7 → v1.0.8 is a patch release and should be a drop-in Composer bump with no config or asset changes. The one required operational step is a cache purge — php artisan cache:clear (and config:clear / view:clear) — executed as part of the deploy, not before it, and ideally paired with a targeted flush of the package's cache keys. Without that, the fix’s benefit is not guaranteed for existing environments.
Compatibility. Confirm the Composer constraint against the pinned Filament version in composer.json before merging. This is the single highest-risk unknown; a Filament minor bump can silently break plugin registration.
Sequencing. (1) Pin and install in a staging environment with a cold, cleared cache. (2) Boot the Filament panel and exercise login, dashboard, and any white-labelled surfaces. (3) Simulate the failure mode: deploy over a warm cache from 1.0.7 and confirm no __PHP_Incomplete_Class. (4) Only then promote to production with the cache-clear step baked into the release runbook.
Maintenance. Community package with a small contributor base and PR-driven releases. Expect low ceremony but also low release cadence and a real bus-factor consideration. Pin the version and treat upgrades as reviewed changes rather than automatic patch bumps.
Support. GitHub issues only; no vendor SLA. For a cosmetic-layer dependency that is usually acceptable, but it argues for keeping the theming surface small so the package is easy to remove.
Scaling. Negligible throughput impact — branding is resolved per panel boot, and cache reads are cheap. The scaling concern is cache correctness across environments, not load.
Failure modes.
__PHP_Incomplete_Class on panel boot → admin UI hard-down for every user. Highest-severity mode.Ramp-up. Low for configuration; moderate for debugging. Engineers can wire it up in an afternoon, but diagnosing serialization/autoload failures requires PHP internals familiarity that most Laravel developers rarely exercise. Document the cache-clear step in the deploy runbook so on-call does not rediscover it during an incident.
Note: this assessment is derived from a single patch release note and public package metadata; no prior evaluation existed. A source and dependency review should precede any production adoption.
How can I help you explore Laravel packages today?