spatie/laravel-settings
Store your application settings
3.9.0
8.2M downloads/mo
#938 most downloaded on Packagist
spatie/laravel-settings
What this package is like to depend on
Last release 2 months ago
26 May 2026
Release timing varies
gaps range from 2 weeks to 7 months
Nearly every release is documented
notes for 66 of 70 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
70 releases · first in 2020
9 releases in the last 12 months
see the full history below
Release timeline
70 releases · Oct 2020 to May 2026Releases
latest 60 of 70-
3.9.026 May 2026Release notes
Open source →What's Changed
- Adds a cache prefix resolver by @leobeal in https://github.com/spatie/laravel-settings/pull/362
New Contributors
- @leobeal made their first contribution in https://github.com/spatie/laravel-settings/pull/362
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.8.1...3.9.0
-
3.8.122 May 2026Release notes
Open source →What's Changed
- cast env('SETTINGS_CACHE_ENABLED') to boolean by @ismaail in https://github.com/spatie/laravel-settings/pull/361
New Contributors
- @ismaail made their first contribution in https://github.com/spatie/laravel-settings/pull/361
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.8.0...3.8.1
-
3.8.028 Apr 2026Release notes
Open source →What's Changed
- chore(deps): bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #359
- chore(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in #360
- fix(settings): update settings migrator and repositories to deal with locked attribute on rename operation by @carlos-mora in #358
New Contributors
- @carlos-mora made their first contribution in #358
Full Changelog: 3.7.2...3.8.0
Release notes
Open source →What's Changed
- chore(deps): bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-settings/pull/359
- chore(deps): bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in https://github.com/spatie/laravel-settings/pull/360
- fix(settings): update settings migrator and repositories to deal with locked attribute on rename operation by @carlos-mora in https://github.com/spatie/laravel-settings/pull/358
New Contributors
- @carlos-mora made their first contribution in https://github.com/spatie/laravel-settings/pull/358
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.7.2...3.8.0
-
3.7.217 Mar 2026Release notes
Open source →Release notes
Open source →What's Changed
- Add
ShouldBeEncryptedattribute by @willrowe in https://github.com/spatie/laravel-settings/pull/353
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.7.1...3.7.2
- Add
-
3.7.116 Mar 2026Release notes
Open source →What's Changed
- Add type hint to up method and use config for table name by @bernhardh in #355
- Allow phpdocumentor/type-resolver v2 for Laravel 12 compatibility by @milorojas in #354
Full Changelog: 3.7.0...3.7.1
Release notes
Open source →What's Changed
- Add type hint to up method and use config for table name by @bernhardh in https://github.com/spatie/laravel-settings/pull/355
- Allow phpdocumentor/type-resolver v2 for Laravel 12 compatibility by @milorojas in https://github.com/spatie/laravel-settings/pull/354
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.7.0...3.7.1
-
3.7.009 Feb 2026Release notes
Open source →What's new
- Add support for Laravel's memoized cache driver (
Cache::memo(), requires Laravel 12.9+)
When enabled, settings cache values are stored in memory during a single request, preventing repeated cache store hits.
Configuration
// 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.Release notes
Open source →What's new
- Add support for Laravel's memoized cache driver (
Cache::memo(), requires Laravel 12.9+)
When enabled, settings cache values are stored in memory during a single request, preventing repeated cache store hits.
Configuration
// 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. - Add support for Laravel's memoized cache driver (
-
3.6.003 Dec 2025Release notes
Open source → -
3.5.103 Dec 2025Release notes
Open source →What's Changed
- fix issue 343 Fixed: When multiple tenants have the same cache key, tenants cannot be distinguished by @Wsmallnews in #344
- Revert "Update migration file publishing with timestamp" by @rubenvanassche in #349
Full Changelog: 3.5.0...3.5.1
Release notes
Open source →What's Changed
- fix issue 343 Fixed: When multiple tenants have the same cache key, tenants cannot be distinguished by @Wsmallnews in https://github.com/spatie/laravel-settings/pull/344
- Revert "Update migration file publishing with timestamp" by @rubenvanassche in https://github.com/spatie/laravel-settings/pull/349
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.5.0...3.5.1
-
3.5.024 Oct 2025Release notes
Open source →What's Changed
- Register the auto discover cache and clear commands as optimize commands by @willrowe in #327
- Update migration file publishing with timestamp by @samuelterra22 in #341
- [Feature] Added ArrayDataCast to cast arrays of Laravel Data by @serious-angel in #334
Full Changelog: 3.4.4...3.5.0
Release notes
Open source →What's Changed
- Register the auto discover cache and clear commands as optimize commands by @willrowe in https://github.com/spatie/laravel-settings/pull/327
- Update migration file publishing with timestamp by @samuelterra22 in https://github.com/spatie/laravel-settings/pull/341
- [Feature] Added ArrayDataCast to cast arrays of Laravel Data by @serious-angel in https://github.com/spatie/laravel-settings/pull/334
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.4...3.5.0
-
3.4.411 Apr 2025Release notes
Open source →- Fix #319
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.3...3.4.4
-
3.4.311 Apr 2025Release notes
Open source →What's Changed
- Do not save settings with missing migrations by @gazben in https://github.com/spatie/laravel-settings/pull/313
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.2...3.4.3
-
3.4.214 Feb 2025Release notes
Open source →What's Changed
- Fill missing settings with default values by @gazben in https://github.com/spatie/laravel-settings/pull/298
New Contributors
- @gazben made their first contribution in https://github.com/spatie/laravel-settings/pull/298
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.1...3.4.2
-
3.4.131 Jan 2025Release notes
Open source →What's Changed
- chore(deps): bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-settings/pull/309
- Change out of date stubs in README by @GrandadEvans in https://github.com/spatie/laravel-settings/pull/310
- Support Illuminate\Support\Carbon as cast by @Propaganistas in https://github.com/spatie/laravel-settings/pull/311
- chore: fix typo by @danjohnson95 in https://github.com/spatie/laravel-settings/pull/306
New Contributors
- @GrandadEvans made their first contribution in https://github.com/spatie/laravel-settings/pull/310
- @Propaganistas made their first contribution in https://github.com/spatie/laravel-settings/pull/311
- @danjohnson95 made their first contribution in https://github.com/spatie/laravel-settings/pull/306
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.0...3.4.1
-
3.4.020 Sep 2024Release notes
Open source →What's Changed
- Update README.md by @marventhieme in https://github.com/spatie/laravel-settings/pull/290
- Update README.md by @marventhieme in https://github.com/spatie/laravel-settings/pull/291
- Feat: add exists in migrator by @akshit-arora in https://github.com/spatie/laravel-settings/pull/289
New Contributors
- @marventhieme made their first contribution in https://github.com/spatie/laravel-settings/pull/290
- @akshit-arora made their first contribution in https://github.com/spatie/laravel-settings/pull/289
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.3...3.4.0
-
3.3.313 Aug 2024Release notes
Open source →What's Changed
- Handle Parentheses On Anonymous Settings Migrations by @Magnesium38 in https://github.com/spatie/laravel-settings/pull/280
New Contributors
- @Magnesium38 made their first contribution in https://github.com/spatie/laravel-settings/pull/280
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.2...3.3.3
-
3.3.222 Mar 2024Release notes
Open source →What's Changed
- [3.x] Fix PHP 7.4 Compatibilty by @Rizky92 in https://github.com/spatie/laravel-settings/pull/264
- Update MakeSettingCommand.php by @hamzaelmaghari in https://github.com/spatie/laravel-settings/pull/262
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.1...3.3.2
-
3.3.113 Mar 2024Release notes
Open source →What's Changed
- fix when base path is app path by @mvenghaus in https://github.com/spatie/laravel-settings/pull/259
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.3.0...3.3.1
-
3.3.019 Feb 2024Release notes
Open source →What's Changed
- Update composer.json to use Larastan Org by @arnebr in https://github.com/spatie/laravel-settings/pull/252
- Add support for laravel 11 by @shuvroroy in https://github.com/spatie/laravel-settings/pull/256
- Added settings driven custom encoder/decoder by @naxvog in https://github.com/spatie/laravel-settings/pull/250
Full Changelog: https://github.com/spatie/laravel-settings/compare/3.2.3...3.3.0
-
3.2.304 Dec 2023 -
3.2.201 Dec 2023 -
3.2.115 Sep 2023 -
3.2.005 Jul 2023 -
3.1.011 May 2023 -
3.0.028 Apr 2023Release notes
Open source →- Allow repositories to update multiple settings at once (#213 )
- The default location where searching for settings happens is now
app_path('Settings')instead ofapp_path() - The default
discovered_settings_cache_pathis changed
-
2.8.330 Mar 2023 -
2.8.210 Mar 2023 -
2.8.102 Mar 2023Release notes
Open source →- Show message and target path after setting migration created (#203)
- Follow Laravel's namespace convention in MakeSettingCommand (#200)
- Update MakeSettingsMigrationCommand.php (#205)
- Revert "Add support for structure discoverer"( #207)
-
2.8.010 Feb 2023Release notes
Open source →- Drop Laravel 8 support
- Drop PHP 8.0 support
- Use spatie/structures-discoverer for finding settings
-
2.7.001 Feb 2023Release notes
Open source →- Add Laravel 10 Support (#192)
- Update make:settings migration class as anonymous class (#189)
- Use correct namespace in make:settings command (#190)
-
2.6.106 Jan 2023Release notes
Open source →- Add current date to the settings migration file (#178)
- Add command to make new settings (#181)
-
2.6.024 Nov 2022 -
2.5.010 Nov 2022Release notes
Open source →- Remove deprecated package
- Add laravel data cast
- Add support for PHP 8.2
- Remove PHP 7.4 support
- Remove dto cast from default config
-
2.4.528 Sep 2022 -
2.4.407 Sep 2022Release notes
Open source →- cache encrypted settings
Please, 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!
-
2.4.310 Aug 2022 -
2.4.217 Jun 2022 -
2.4.107 Apr 2022 -
2.4.022 Mar 2022Nothing published for this version
-
2.3.318 Mar 2022 -
2.3.225 Feb 2022 -
2.3.104 Feb 2022Release notes
Open source →- Add support for Laravel 9
- Fix cache implementation with casts
- Remove Psalm
- Add PHPStan
-
2.3.003 Dec 2021Nothing published for this version
-
2.2.022 Oct 2021 -
2.1.1214 Oct 2021 -
2.1.1123 Aug 2021 -
2.1.1017 Aug 2021 -
2.1.908 Jul 2021 -
2.1.821 Jun 2021 -
2.1.708 Jun 2021 -
2.1.603 Jun 2021 -
2.1.521 May 2021 -
2.1.428 Apr 2021Release notes
Open source →- added fallback for settings.auto_discover_settings (#63)
- add support for spatie/data-transfer-object v3 (#62)
-
2.1.314 Apr 2021 -
2.1.208 Apr 2021 -
2.1.107 Apr 2021 -
2.1.007 Apr 2021Release notes
Open source →- add casts to migrations (#53)
- add original properties to
SavingSettingsevent (#57)
-
2.0.105 Mar 2021 -
2.0.003 Mar 2021Release notes
Open source →- settings classes:
- properties won't be loaded when constructed but when requested
- receive a
SettingsMapperwhen constructed - faking settings will now only request non-given properties from the repository
- rewritten
SettingsMapperfrom scratch - removed
SettingsPropertyDataandettingsPropertyDataCollection - changed signatures of
SavingSettingsandLoadingSettingsevents - added support for caching settings
- renamed
cache_pathin settings.php todiscovered_settings_cache_path
-
1.6.121 Dec 2022 -
1.0.803 Mar 2021