LaravelPackages.net
Acme Inc.
Toggle sidebar
tomatophp/filament-simple-theme

A simple theme for FilamentPHP with custom user menu in sidebar

7.429
14
5.0.0
About tomatophp/filament-simple-theme

tomatophp/filament-simple-theme is a Laravel package for a simple theme for filamentphp with custom user menu in sidebar. It currently has 14 GitHub stars and 7.429 downloads on Packagist (latest version 5.0.0). Install it with composer require tomatophp/filament-simple-theme. Discover more Laravel packages by tomatophp or browse all Laravel packages to compare alternatives.

Last updated

Screenshot

Filament Simple Theme

Latest Stable Version License Downloads

A simple theme for FilamentPHP: the user menu lives in the sidebar and the page content is an inset card.

Version Compatibility

| Plugin | Filament | Laravel | PHP | |--------|----------|---------|-----| | 1.x | 3.x | 10.x / 11.x | 8.1+ | | 5.x | 5.x | 12.x / 13.x | 8.2+ |

Screenshots

Dashboard User Menu Resource Dark Dashboard Dark Resource

Installation

composer require tomatophp/filament-simple-theme
php artisan filament-simple-theme:install

Then register the plugin in /app/Providers/Filament/AdminPanelProvider.php:

->plugin(\TomatoPHP\FilamentSimpleTheme\FilamentSimpleThemePlugin::make())

The theme is plain CSS registered with Filament assets: no Vite, Tailwind or npm step, and it works next to your own viteTheme(). Run php artisan filament:assets after updating the package (the install command does it for you).

How it works

  • The panel topbar is turned off and Filament's own user menu moves to the sidebar footer, so everything plugins render around the user menu (language switchers, the theme switcher, custom menu items) keeps working.
  • The sidebar sits on the page ground and the content becomes an inset card; light and dark mode are both styled.
  • With tomatophp/filament-tomatophp-theme enabled it follows the brand colors.

Keep the topbar and its user menu, and only use the styling:

->plugin(\TomatoPHP\FilamentSimpleTheme\FilamentSimpleThemePlugin::make()->sidebarUserMenu(false))

Testing

composer test

Other Filament Packages

Checkout our Awesome TomatoPHP

Comments