Repository navigation
v1.1.0
New Features
- Added global settings() helper function
- Laravel-style config() equivalent for settings
- Full dot notation support with type preservation
Usage
// Get a setting
$appName = settings('app.name');
$debug = settings('debug', false); // with default value
// Get all settings
$allSettings = settings();
// Set multiple settings
settings([
'app.name' => 'My Application',
'app.version' => '2.0.0',
'debug' => true
]);
// Set a single setting (using second parameter)
settings('app.theme', 'dark');