User-customizable settings for Loaf.
The package provides a facade for easy access to settings.
// Set a value
Settings::set('website.appearance.color', '#dbedff');
// Get a value
$value = Settings::get('website.appearance.color', $default_value);
Settings are categorized in sections
that contain groups
that contain fields
.
fields
have a specific SettingType
(type
) with a corresponding database model
.