Download the PHP package ashrafic/filament-white-label without Composer
On this page you can find all versions of the php package ashrafic/filament-white-label. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ashrafic/filament-white-label
More information about ashrafic/filament-white-label
Files in ashrafic/filament-white-label
Package filament-white-label
Short Description Total panel rebranding. For you and every tenant. No code.
License MIT
Informations about the package filament-white-label
Total panel rebranding. For you and every tenant. No code.
Logo, colors, fonts, layout, CSS, footer — every tenant gets their own brand. Or rebrand your own portal in a single-tenant setup. Install, add one line to your PanelProvider, done.
Installation
Panel Registration
Two pieces — both required for the settings page to appear:
->whiteLabel()enables white-label functionality across the panelWhiteLabelSettingsResourceregisters the settings page — without it, no nav item appears
A White Label nav item appears with three sub-pages: Brand, Layout, Advanced.
Tenant Model Setup (Optional)
Add the HasWhiteLabel trait to your tenant model only if you want default settings eagerly created when a new tenant is created:
The trait hooks into the created event to auto-create a default settings record.
Without the trait, defaults are created lazily — only when the White Label page is first visited. Skip this step for single-tenant setups, or if you don't need the settings row to exist before page visit.
Guides
Full docs at docs.ashraficlabs.com/filament-white-label
| Getting Started | Overview, requirements, quick start |
| Installation | Composer, install command, trait setup |
| Configuration | Full config reference — every option |
| Features Overview | All customization surfaces at a glance |
| Brand Settings | Name, logos, colors, fonts, CSS theme, custom CSS |
| Layout Settings | Navigation, sidebar, breadcrumbs, dimensions, footer |
| Advanced Settings | SPA mode, notifications, density, modals, transitions |
| Branded Login | Tenant-branded auth page |
| Integration Patterns | Macro, granular trait, manual, conditional |
| Resolution Flow | Tenant → panel → global → config defaults |
| Cache & Security | Caching strategy, CSS sanitization, threat mitigations |
| Events | WhiteLabelSettingsSaved, WhiteLabelSettingsDeleted |
Screenshots
| Brand Identity | Colors |
|---|---|
![]() |
![]() |
| Typography, Styling & Custom CSS | Layout: Navigation, Sidebar, Display |
|---|---|
![]() |
![]() |
| Dimensions & Footer | Advanced Settings |
|---|---|
![]() |
![]() |
What You Can Customize
| Category | Highlights |
|---|---|
| Brand identity | Name, logo (light + dark), logo height, favicon |
| Colors | 6 roles — palette presets + custom hex picker |
| Typography | 49 Google Fonts via CDN |
| CSS theme | Border radius, input radius, badge shape, shadow intensity |
| Layout | Top bar, top nav, collapsible sidebar, breadcrumbs |
| Dimensions | Content width, sidebar width, heading size |
| Density | Font scale, form density, table row density, modal size |
| Behavior | SPA mode, unsaved changes alerts, database notifications |
| Custom CSS | Sanitized CSS injection (max 50KB) |
| Login page | Branded auth experience (extends native Filament login) |
| Footer | Custom text + dynamic label/URL links |
| i18n | Full translation support — all ~230 strings translatable |
Operating Modes
| Mode | When | How |
|---|---|---|
| Multi-tenant | Filament::getTenant() resolves |
Per-tenant settings record |
| Single-tenant | No tenant, global record exists | One global settings record |
| Config-only | No records exist | config('filament-white-label.defaults.*') |
Works before and after you adopt multi-tenancy.
Testing
License
MIT. See LICENSE.md.
Full docs at docs.ashraficlabs.com/filament-white-label
Built with precision for professionals.
[email protected]





