定制 ashrafic/filament-white-label 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ashrafic/filament-white-label

Composer 安装命令:

composer require ashrafic/filament-white-label

包简介

Total panel rebranding. For you and every tenant. No code.

README 文档

README

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.

Packagist Version Docs PHP Version Filament License

Installation

composer require ashrafic/filament-white-label
php artisan white-label:install
php artisan migrate

Add the trait to your tenant model:

use FilamentWhiteLabel\Traits\HasWhiteLabel;

class Team extends Model
{
    use HasWhiteLabel;
}

One line in your PanelProvider:

$panel->whiteLabel();

Done. Your tenants see a White Label settings page.

Documentation

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
Brand Identity Colors
Typography, Styling & Custom CSS Layout: Navigation, Sidebar, Display
Typography & CSS Layout
Dimensions & Footer Advanced Settings
Dimensions & Footer Advanced

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

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.

Requirements

  • PHP 8.2+
  • Laravel 11+
  • Filament v5.x

Testing

composer test     # Pest — 24 tests, 167 assertions
composer lint     # Pint

License

MIT. See LICENSE.md.

Full docs at docs.ashraficlabs.com/filament-white-label

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固