spatie/laravel-settings
Store strongly typed app settings in Laravel using dedicated Settings classes backed by databases, Redis, and more. Inject settings via the container, read and update properties, then save—keeping configuration structured, testable, and easy to manage.
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?