Download the PHP package 3x1io/filament-themes without Composer
On this page you can find all versions of the php package 3x1io/filament-themes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download 3x1io/filament-themes
More information about 3x1io/filament-themes
Files in 3x1io/filament-themes
Package filament-themes
Short Description FrontEnd Themes Manager For Filament Admin
License MIT
Homepage https://3x1.io
Informations about the package filament-themes
Filament Theme Manager
FrontEnd Themes Manager For Filament Admin
Installation
You can install the package via composer:
Run migration:
Run migration:
Remove default route from routes/web.php
add to your composer.json
Create New Theme
to create a new theme just this this command
it will ask you for the theme name and the theme description
and you will get your new theme folder on path resources/views/themes/THEME_NAME
and your assets folder on path public/themes/THEME_NAME
Theme Helpers
our theme feature has some helpers to make it easy to make a frontend theme like theme assets url
this function take a url
and make it easy to access your theme path public/themes/THEME_NAME/
this function get the namespace for the controller folder of the current theme
this function take a key
and get this key from settings
table and decode it to array so you can use it when you make a menu inside a json setting.
this function take a number
and convert it to money style with a currency symbol
Generate a Theme Controller
our themes feature support artisan command to generate a new theme controller you can use this command like
i will ask you about Theme Name and Controller Name
Note: the controller name must be in PascalCase
without Controller
word on the end because we attach it automatically
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-themes with dependencies
filament/filament Version ^2.16
filament/notifications Version ^2.16
filament/spatie-laravel-settings-plugin Version ^2.16
spatie/laravel-package-tools Version ^1.10
queents/console-helpers Version ^v1.0.0