Releases: tomatophp/filament-settings-hub
Releases · tomatophp/filament-settings-hub
v2.0.0
v1.0.10
- add model caching to improve preformance
Full Changelog: v1.0.9...v1.0.10
v1.0.9
Full Changelog: v1.0.8...v1.0.9
v1.0.8
- update main group name to
Settings
and page name toSettings
- add filament-plugins integration.
Full Changelog: v1.0.7...v1.0.8
v1.0.7
Add Plugin Options
->plugin(
\TomatoPHP\FilamentSettingsHub\FilamentSettingsHubPlugin::make()
->allowLocationSettings()
->allowSiteSettings()
->allowSocialMenuSettings()
)
Allow Shield
to allow filament-shield for the settings please install it and config it first then you can use this method
->plugin(
\TomatoPHP\FilamentSettingsHub\FilamentSettingsHubPlugin::make()
->allowShield()
)
to make a secure setting page just use this trait
use TomatoPHP\FilamentSettingsHub\Traits\UseShield;
Update SettingHold
use TomatoPHP\FilamentSettingsHub\Facades\FilamentSettingsHub;
use TomatoPHP\FilamentSettingsHub\Services\Contracts\SettingHold;
FilamentSettingsHub::register([
SettingHold::make()
->order(2)
->label('Site Settings') // to translate label just use direct translation path like `messages.text.name`
->icon('heroicon-o-globe-alt')
->route('filament.admin.pages.site-settings') // use page / route
->page(\TomatoPHP\FilamentSettingsHub\Pages\SiteSettings::class) // use page / route
->description('Name, Logo, Site Profile') // to translate label just use direct translation path like `messages.text.name`
->group('General') // to translate label just use direct translation path like `messages.text.name`,
]);
Full Changelog: v1.0.6...v1.0.7
v1.0.6
What's Changed
- Fixed getNavigationGroup() return, which was hard-coded by @ltlacerda in #3
New Contributors
- @ltlacerda made their first contribution in #3
Full Changelog: v1.0.5...v1.0.6
v1.0.5
- move setting to plugin provider to catch the correct panel URL
Full Changelog: v1.0.4...v1.0.5