foodkit / cache
Library of all the php-cache adapters
Requires
- php: ^7.4|^8
- doctrine/cache: ^1.3
- league/flysystem: ^1.0 || ^2.0 || ^3.0
- psr/cache: ^1.0 || ^2.0
- psr/log: ^1.0 || ^2.0 || ^3.0
- psr/simple-cache: ^1.0
Requires (Dev)
- cache/integration-tests: ^0.17
- defuse/php-encryption: ^2.0
- illuminate/cache: ^5.4 || ^5.5 || ^5.6
- mockery/mockery: ^1.0
- phpunit/phpunit: ^7.5.20 || ^9.5.10
- predis/predis: ^1.1
- symfony/cache: ^3.1
- symfony/polyfill-php70: ^1.6
Suggests
- ext-apc: APC extension is required to use the APC Adapter
- ext-apcu: APCu extension is required to use the APCu Adapter
- ext-memcache: Memcache extension is required to use the Memcache Adapter
- ext-memcached: Memcached extension is required to use the Memcached Adapter
- ext-mongodb: Mongodb extension required to use the Mongodb adapter
- ext-redis: Redis extension is required to use the Redis adapter
- mongodb/mongodb: Mongodb lib required to use the Mongodb adapter
Replaces
- cache/adapter-common: ^1
- cache/apc-adapter: ^1
- cache/apcu-adapter: ^1
- cache/array-adapter: ^1
- cache/chain-adapter: ^1
- cache/doctrine-adapter: ^1
- cache/filesystem-adapter: ^1
- cache/hierarchical-cache: ^1
- cache/illuminate-adapter: ^1
- cache/memcache-adapter: ^1
- cache/memcached-adapter: ^1
- cache/mongodb-adapter: ^1
- cache/predis-adapter: ^1
- cache/psr-6-doctrine-bridge: ^1
- cache/redis-adapter: ^1
- cache/session-handler: ^1
- cache/taggable-cache: ^1
- cache/util: ^1
- cache/void-adapter: ^1
README
This is a forked and repackaged version of the PHP Cache package, to enable support for PHP 8.1 and to serve as an internal dependency for Foodkit applications.
PHP Cache
This is the main repository for all our cache adapters and libraries. To read about features like tagging and hierarchy support please read the shared documentation at www.php-cache.com.
Back in 2016, this was the first library supporting PSR-6. We created Symfony bundles and made many great libraries in the PHP-cache organization. This was a few years ago and the library is not activly maintained. Starting a new project one should consider using the more performant and activly supported Symfony Cache.
Notice
This library is for development use. All pull requests to the adapters, and libraries included in here, should be made to this library.
If you are lazy, you can also include this project, to include all the adapters and libraries.
Contribute
Contributions are very welcome! Make sure you check out the contributing docs and send us a pull request or report any issues you find on the issue tracker. Feel free to come chat with us on Gitter too.