spatie/laravel-settings
Strongly typed application settings for Laravel. Define settings classes with typed properties, store values in a repository (database, Redis, etc.), inject settings via the container, and update them easily with $settings->save().
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.8.1...3.9.0
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.8.0...3.8.1
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.7.2...3.8.0
ShouldBeEncrypted attribute by @willrowe in https://github.com/spatie/laravel-settings/pull/353Full Changelog: https://github.com/spatie/laravel-settings/compare/3.7.1...3.7.2
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.7.0...3.7.1
Cache::memo(), requires Laravel 12.9+)When enabled, settings cache values are stored in memory during a single request, preventing repeated cache store hits.
// config/settings.php
'cache' => [
'enabled' => true,
'memo' => true, // or env('SETTINGS_CACHE_MEMO', false)
],
Per-repository configuration is also supported.
Backwards compatible — on Laravel versions without Cache::memo(), the option is silently ignored.
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.5.1...3.6.0
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.5.0...3.5.1
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.4...3.5.0
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.3...3.4.4
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.2...3.4.3
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.1...3.4.2
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.0...3.4.1
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.3...3.4.0
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.2...3.3.3
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.1...3.3.2
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.0...3.3.1
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.2.3...3.3.0
app_path('Settings') instead of app_path()discovered_settings_cache_path is changedPlease, be sure to clear your cache since settings classes with encrypted properties will crash due to the cached versions missing a proper encrypted version of the property. Clearing and caching again after installing this version resolves this problem and is something you probably should always do when deploying to production!
How can I help you explore Laravel packages today?