PackageTrack
Sign in Get early access

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 2026
2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 70
  1. 3.9.0 26 May 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.8.1...3.9.0

    Open source →
    Release notes

    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

    Open source →
  2. 3.8.1 22 May 2026
    Release notes

    What's Changed

    • cast env('SETTINGS_CACHE_ENABLED') to boolean by @ismaail in #361

    New Contributors

    Full Changelog: 3.8.0...3.8.1

    Open source →
    Release notes

    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

    Open source →
  3. 3.8.0 28 Apr 2026
    Release notes

    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

    Full Changelog: 3.7.2...3.8.0

    Open source →
    Release notes

    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

    Open source →
  4. 3.7.2 17 Mar 2026
    Release notes

    What's Changed

    Full Changelog: 3.7.1...3.7.2

    Open source →
    Release notes

    What's Changed

    • Add ShouldBeEncrypted attribute 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

    Open source →
  5. 3.7.1 16 Mar 2026
    Release notes

    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

    Open source →
    Release notes

    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

    Open source →
  6. 3.7.0 09 Feb 2026
    Release notes

    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.

    Open source →
    Release notes

    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.

    Open source →
  7. 3.6.0 03 Dec 2025
    Release notes

    What's Changed

    Full Changelog: 3.5.1...3.6.0

    Open source →
  8. 3.5.1 03 Dec 2025
    Release notes

    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

    Open source →
    Release notes

    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

    Open source →
  9. 3.5.0 24 Oct 2025
    Release notes

    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

    Open source →
    Release notes

    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

    Open source →
  10. 3.4.4 11 Apr 2025
    Release notes

    Full Changelog: 3.4.3...3.4.4

    Open source →
    Release notes
    • Fix #319

    Full Changelog: https://github.com/spatie/laravel-settings/compare/3.4.3...3.4.4

    Open source →
  11. 3.4.3 11 Apr 2025
    Release notes

    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

    Open source →
  12. 3.4.2 14 Feb 2025
    Release notes

    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

    Open source →
  13. 3.4.1 31 Jan 2025
    Release notes

    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

    Open source →
  14. 3.4.0 20 Sep 2024
    Release notes

    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

    Open source →
  15. 3.3.3 13 Aug 2024
    Release notes

    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

    Open source →
  16. 3.3.2 22 Mar 2024
    Release notes

    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

    Open source →
  17. 3.3.1 13 Mar 2024
    Release notes

    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

    Open source →
  18. 3.3.0 19 Feb 2024
    Release notes

    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

    Open source →
  19. 3.2.3 04 Dec 2023
    Release notes
    • Revert "Use Illuminate\Database\Eloquent\Casts\Json if possible" (#249)
    Open source →
  20. 3.2.2 01 Dec 2023
    Release notes
    • Use Illuminate\Database\Eloquent\Casts\Json if possible (#241)
    Open source →
  21. 3.2.1 15 Sep 2023
    Release notes
    • Change provider tag name for config (#233)
    Open source →
  22. 3.2.0 05 Jul 2023
    Release notes
    • Add support for database-less fakes
    Open source →
  23. 3.1.0 11 May 2023
    Release notes
    • Add support for nullable enum properties
    • Updates to the upgrade guide
    Open source →
  24. 3.0.0 28 Apr 2023
    Release notes
    • Allow repositories to update multiple settings at once (#213 )
    • The default location where searching for settings happens is now app_path('Settings') instead of app_path()
    • The default discovered_settings_cache_path is changed
    Open source →
  25. 2.8.3 30 Mar 2023
    Release notes
    • Remove doctrine as a dependency
    Open source →
  26. 2.8.2 10 Mar 2023
    Release notes
    • Fix remigration problems with anonymous settings migrations
    Open source →
  27. 2.8.1 02 Mar 2023
    Release notes
    • 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)
    Open source →
  28. 2.8.0 10 Feb 2023
    Release notes
    • Drop Laravel 8 support
    • Drop PHP 8.0 support
    • Use spatie/structures-discoverer for finding settings
    Open source →
  29. 2.7.0 01 Feb 2023
    Release notes
    • Add Laravel 10 Support (#192)
    • Update make:settings migration class as anonymous class (#189)
    • Use correct namespace in make:settings command (#190)
    Open source →
  30. 2.6.1 06 Jan 2023
    Release notes
    • Add current date to the settings migration file (#178)
    • Add command to make new settings (#181)
    Open source →
  31. 2.6.0 24 Nov 2022
    Release notes
    • Add support for caching on repository level
    Open source →
  32. 2.5.0 10 Nov 2022
    Release notes
    • Remove deprecated package
    • Add laravel data cast
    • Add support for PHP 8.2
    • Remove PHP 7.4 support
    • Remove dto cast from default config
    Open source →
  33. 2.4.5 28 Sep 2022
    Release notes
    • Add deleteIfExists() method to migrator (#154)
    Open source →
  34. 2.4.4 07 Sep 2022
    Release notes
    • 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!

    Open source →
  35. 2.4.3 10 Aug 2022
    Release notes
    • add rollback to migration
    Open source →
  36. 2.4.2 17 Jun 2022
    Release notes
    • use Facade imports instead of aliases (#132)
    Open source →
  37. 2.4.1 07 Apr 2022
    Release notes
    • Switch to using scoped instances instead of singletons (#129)
    Open source →
  38. 2.4.0 22 Mar 2022

    Nothing published for this version

  39. 2.3.3 18 Mar 2022
    Release notes
    • fix debug info method
    • convert PHPUnit to Pest (#118)
    Open source →
  40. 2.3.2 25 Feb 2022
    Release notes
    • Allow migrations without a value (#113)
    Open source →
  41. 2.3.1 04 Feb 2022
    Release notes
    • Add support for Laravel 9
    • Fix cache implementation with casts
    • Remove Psalm
    • Add PHPStan
    Open source →
  42. 2.3.0 03 Dec 2021

    Nothing published for this version

  43. 2.2.0 22 Oct 2021
    Release notes
    • add support for multiple migration paths (#92)
    Open source →
  44. 2.1.12 14 Oct 2021
    Release notes
    • add possibility to check if setting is locked or unlocked (#89)
    Open source →
  45. 2.1.11 23 Aug 2021
    Release notes
    • ignore abstract classes when discovering settings (#84)
    Open source →
  46. 2.1.10 17 Aug 2021
    Release notes
    • add support for null in DateTime casts
    Open source →
  47. 2.1.9 08 Jul 2021
    Release notes
    • fix empty call not working when properties weren't loaded
    Open source →
  48. 2.1.8 21 Jun 2021
    Release notes
    • fix fake settings not working with Arrayable
    Open source →
  49. 2.1.7 08 Jun 2021
    Release notes
    • add support for refreshing settings
    Open source →
  50. 2.1.6 03 Jun 2021
    Release notes
    • add support for defining the database connection table
    Open source →
  51. 2.1.5 21 May 2021
    Release notes
    • fix some casting problems
    • update php-cs-fixer
    Open source →
  52. 2.1.4 28 Apr 2021
    Release notes
    • added fallback for settings.auto_discover_settings (#63)
    • add support for spatie/data-transfer-object v3 (#62)
    Open source →
  53. 2.1.3 14 Apr 2021
    Release notes
    • add support for spatie/temporary-directory v2
    Open source →
  54. 2.1.2 08 Apr 2021
    Release notes
    • skip classes with errors when discovering settings
    Open source →
  55. 2.1.1 07 Apr 2021
    Release notes
    • add better support for nullable types in docblocks
    Open source →
  56. 2.1.0 07 Apr 2021
    Release notes
    • add casts to migrations (#53)
    • add original properties to SavingSettings event (#57)
    Open source →
  57. 2.0.1 05 Mar 2021
    Release notes
    • add support for lumen
    Open source →
  58. 2.0.0 03 Mar 2021
    Release notes
    • settings classes:
    • properties won't be loaded when constructed but when requested
    • receive a SettingsMapper when constructed
    • faking settings will now only request non-given properties from the repository
    • rewritten SettingsMapper from scratch
    • removed SettingsPropertyData and ettingsPropertyDataCollection
    • changed signatures of SavingSettings and LoadingSettings events
    • added support for caching settings
    • renamed cache_path in settings.php to discovered_settings_cache_path
    Open source →
  59. 1.6.1 21 Dec 2022
    Release notes
    • create settings migration with current date (#179)
    Open source →
  60. 1.0.8 03 Mar 2021
    Release notes
    • fix for properties without defined type
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive