spatie/laravel-ciphersweet
Use ciphersweet in your Laravel project
1.8.0
936K downloads/mo
#3379 most downloaded on Packagist
spatie/laravel-ciphersweet
What this package is like to depend on
Last release 2 months ago
18 Jun 2026
Ships fairly regularly
a new release about every 4 months
Nearly every release is documented
notes for 24 of 24 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
24 releases · first in 2022
4 releases in the last 12 months
see the full history below
Release timeline
24 releases · Jun 2022 to Jun 2026Releases
latest 24-
1.8.018 Jun 2026Release notes
Open source →What's Changed
- fix: ensure validation attribute is translated in EncryptedUniqueRule by @ur-oot in #96
- Bump ramsey/composer-install from 3 to 4 by @dependabot[bot] in #95
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in #97
- Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in #98
- Respect the model's database connection for blind indexes by @freekmurze in #101
New Contributors
Full Changelog: 1.7.4...1.8.0
Release notes
Open source →What's Changed
- fix: ensure validation attribute is translated in EncryptedUniqueRule by @ur-oot in https://github.com/spatie/laravel-ciphersweet/pull/96
- Bump ramsey/composer-install from 3 to 4 by @dependabot[bot] in https://github.com/spatie/laravel-ciphersweet/pull/95
- Bump dependabot/fetch-metadata from 2.5.0 to 3.0.0 by @dependabot[bot] in https://github.com/spatie/laravel-ciphersweet/pull/97
- Bump dependabot/fetch-metadata from 3.0.0 to 3.1.0 by @dependabot[bot] in https://github.com/spatie/laravel-ciphersweet/pull/98
- Respect the model's database connection for blind indexes by @freekmurze in https://github.com/spatie/laravel-ciphersweet/pull/101
New Contributors
- @ur-oot made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/96
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.7.4...1.8.0
-
1.7.427 Feb 2026Release notes
Open source →What's Changed
- Support Laravel 13 by @freekmurze in #94
New Contributors
- @freekmurze made their first contribution in #94
Full Changelog: 1.7.3...1.7.4
Release notes
Open source →What's Changed
- Support Laravel 13 by @freekmurze in https://github.com/spatie/laravel-ciphersweet/pull/94
New Contributors
- @freekmurze made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/94
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.7.3...1.7.4
-
1.7.309 Feb 2026Release notes
Open source →What's Changed
- Append CIPHERSWEET_KEY to .env when variable doesn't exist yet (fixes #88)
- Fix PHPStan configuration and update baseline
Full Changelog: 1.7.2...1.7.3
Release notes
Open source →What's Changed
- Append CIPHERSWEET_KEY to .env when variable doesn't exist yet in https://github.com/spatie/laravel-ciphersweet/pull/88
- Fix PHPStan configuration and update baseline
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.7.2...1.7.3
-
1.7.218 Sep 2025Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in #81
- Update issue template by @AlexVanderbist in #85
- Fix blind index WHERE clause with table prefix by @mihy in #86
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #84
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in #82
New Contributors
- @AlexVanderbist made their first contribution in #85
- @mihy made their first contribution in #86
Full Changelog: 1.7.1...1.7.2
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.3.0 to 2.4.0 by @dependabot[bot] in https://github.com/spatie/laravel-ciphersweet/pull/81
- Update issue template by @AlexVanderbist in https://github.com/spatie/laravel-ciphersweet/pull/85
- Fix blind index WHERE clause with table prefix by @mihy in https://github.com/spatie/laravel-ciphersweet/pull/86
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in https://github.com/spatie/laravel-ciphersweet/pull/84
- Bump stefanzweifel/git-auto-commit-action from 5 to 6 by @dependabot[bot] in https://github.com/spatie/laravel-ciphersweet/pull/82
New Contributors
- @AlexVanderbist made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/85
- @mihy made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/86
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.7.1...1.7.2
-
1.7.129 Apr 2025Release notes
Open source →What's Changed
- Fix type declarations for PHP 8.4 and add PHP 8.3/8.4 to CI workflow by @alissn in https://github.com/spatie/laravel-ciphersweet/pull/80
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.7.0...1.7.1
-
1.7.028 Apr 2025Release notes
Open source →What's Changed
- Add
EncryptedUniqueRulefor Encrypted Unique Validation by @alissn in https://github.com/spatie/laravel-ciphersweet/pull/78
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.6.5...1.7.0
- Add
-
1.6.517 Feb 2025Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #76
- Laravel 12.x Compatibility by @laravel-shift in #77
Full Changelog: 1.6.4...1.6.5
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/76
- Laravel 12.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-ciphersweet/pull/77
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.6.4...1.6.5
-
1.6.417 Jan 2025Release notes
Open source →What's Changed
- Revert PR #74 and fix getChanges() by @felabrecque in #75
New Contributors
- @felabrecque made their first contribution in #75
Full Changelog: 1.6.3...1.6.4
Release notes
Open source →What's Changed
- Revert PR #74 and fix getChanges() by @felabrecque in https://github.com/spatie/laravel-ciphersweet/pull/75
New Contributors
- @felabrecque made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/75
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.6.3...1.6.4
-
1.6.311 Dec 2024Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in #66
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #71
- Fixing model observers integration by @yormy in #74
Full Changelog: 1.6.2...1.6.3
Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/66
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/71
- Fixing model observers integration by @yormy in https://github.com/spatie/laravel-ciphersweet/pull/74
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.6.2...1.6.3
-
1.6.218 Jul 2024Release notes
Open source →What's Changed
- Add AAD to CustomBackend test by @mdpoulter in #70
- Catch correct exception when fields are missing during decryption by @mdpoulter in #69
New Contributors
- @mdpoulter made their first contribution in #70
Full Changelog: 1.6.1...1.6.2
Release notes
Open source →What's Changed
- Add AAD to CustomBackend test by @mdpoulter in https://github.com/spatie/laravel-ciphersweet/pull/70
- Catch correct exception when fields are missing during decryption by @mdpoulter in https://github.com/spatie/laravel-ciphersweet/pull/69
New Contributors
- @mdpoulter made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/70
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.6.1...1.6.2
-
1.6.113 Mar 2024Release notes
Open source →What's Changed
- Bump ramsey/composer-install from 2 to 3 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/64
- [feat] add table prefix to ciphersweet:encrypt command by @aryala7 in https://github.com/spatie/laravel-ciphersweet/pull/60
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.6.0...1.6.1
-
1.6.013 Mar 2024Release notes
Open source →What's Changed
- Addition of
permit_emptyConfiguration to README by @alissn in https://github.com/spatie/laravel-ciphersweet/pull/61 - Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-ciphersweet/pull/63
New Contributors
- @alissn made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/61
- @laravel-shift made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/63
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.5.0...1.6.0
- Addition of
-
1.5.007 Nov 2023Release notes
Open source →What's Changed
- Add option base64 to GenerateKeyCommand for generate key in base64. T… by @gawsoftpl in https://github.com/spatie/laravel-ciphersweet/pull/49
- Bump actions/checkout from 3 to 4 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/52
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/54
- Ensure null values are not encrypted by @yormy in https://github.com/spatie/laravel-ciphersweet/pull/57
New Contributors
- @gawsoftpl made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/49
- @yormy made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/57
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.4.1...1.5.0
-
1.4.114 Aug 2023Release notes
Open source →What's Changed
- Fix tests & phpstan by @rjindael in https://github.com/spatie/laravel-ciphersweet/pull/48
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.4.0...1.4.1
-
1.4.014 Aug 2023Release notes
Open source →What's Changed
- [feat] update readme.md by @aryala7 in https://github.com/spatie/laravel-ciphersweet/pull/46
- Revamp key generation command by @rjindael in https://github.com/spatie/laravel-ciphersweet/pull/47
New Contributors
- @rjindael made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/47
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.3.0...1.4.0
-
1.3.011 Jul 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/35
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/37
- Fix documentation regarding encryption key setup and use by @mgkimsal in https://github.com/spatie/laravel-ciphersweet/pull/40
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/41
- [feat] add permit_empty to config file by @aryala7 in https://github.com/spatie/laravel-ciphersweet/pull/43
New Contributors
- @mgkimsal made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/40
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.2.0...1.3.0
-
1.2.031 Mar 2023Release notes
Open source →What's Changed
- Implement custom backend by @stevenmaguire in https://github.com/spatie/laravel-ciphersweet/pull/29
New Contributors
- @stevenmaguire made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/29
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.1.0...1.2.0
-
1.1.030 Mar 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/25
- [feat] implement sortDir as an optional argument by @aryala7 in https://github.com/spatie/laravel-ciphersweet/pull/27
- Allow implementing a custom provider
New Contributors
- @aryala7 made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/27
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.0.4...1.1.0
-
1.0.426 Jan 2023Release notes
Open source →What's Changed
- Bump dependabot/fetch-metadata from 1.3.3 to 1.3.4 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/19
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/20
- Update README.md by @TeddyBear06 in https://github.com/spatie/laravel-ciphersweet/pull/23
- Bump ramsey/composer-install from 1 to 2 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/22
New Contributors
- @TeddyBear06 made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/23
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.0.3...1.0.4
-
1.0.326 Jul 2022Release notes
Open source →- Move deleting blind indexes to trait so it can be overridden
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.0.2...1.0.3
-
1.0.215 Jul 2022Release notes
Open source →- Blind indexes now use upserts instead of updateOrInsert
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.0.1...1.0.2
-
1.0.111 Jul 2022Release notes
Open source →What's Changed
- Typo error in README.md by @raksbisht in https://github.com/spatie/laravel-ciphersweet/pull/1
- Return type in model's observer methods by @raksbisht in https://github.com/spatie/laravel-ciphersweet/pull/2
- Typo error in GeneratekeyCommand.php info text. by @raksbisht in https://github.com/spatie/laravel-ciphersweet/pull/3
- Bump dependabot/fetch-metadata from 1.3.1 to 1.3.3 by @dependabot in https://github.com/spatie/laravel-ciphersweet/pull/7
- Add docblock to configureCipherSweet in README with usage instructions by @jeffersonmartin in https://github.com/spatie/laravel-ciphersweet/pull/11
- Fix Service Provider
buildBackendmethod to use correct config array key by @jeffersonmartin in https://github.com/spatie/laravel-ciphersweet/pull/10 - Fix docblock formatting typo in config/ciphersweet.php by @jeffersonmartin in https://github.com/spatie/laravel-ciphersweet/pull/9
New Contributors
- @raksbisht made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/1
- @dependabot made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/7
- @jeffersonmartin made their first contribution in https://github.com/spatie/laravel-ciphersweet/pull/11
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/1.0.0...1.0.1
-
1.0.030 Jun 2022Release notes
Open source →- Initial release! 🎉
Full Changelog: https://github.com/spatie/laravel-ciphersweet/compare/0.0.1...1.0.0
-
0.0.130 Jun 2022