cache / encryption-cache
Adds encryption support to your PSR-6 cache implementation
1.3.0
2022-01-15 15:47 UTC
Requires
- php: >=7.4
- cache/adapter-common: ^1.1
- cache/tag-interop: ^1.0
- defuse/php-encryption: ^2.0
- psr/cache: ^1.0 || ^2.0
Requires (Dev)
- cache/filesystem-adapter: ^1.0
- cache/integration-tests: ^0.17
- phpunit/phpunit: ^7.5.20 || ^9.5.10
README
This repository has a encryption wrapper that makes the PSR-6 cache implementation encrypted.
Encryption and decryption are both expensive operations, and frequent reads from an encrypted data store can quickly become a bottleneck in otherwise performant applications. Use encrypted caches sparingly.
Install
composer require cache/encryption-cache
Use
Read the documentation on usage.
Implement
Read the documentation on implementation.
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.