KO
|
EN
gitlite โ search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
predis-adapter
โ 24
Open GitHub โ
[READ-ONLY] Predis PSR-6 Cache pool
Download README (.md)
Explore Similar Repositories
PredisServiceProvider
:
Predis service provider for the Silex microframework
phpRedisTimeSeries
:
๐ Use Redis Time Series in PHP!
cqrs
:
Infrastructure for creating CQRS applications.
phpRebloom
:
๐๏ธ Use RedisBloom in PHP!
lumen-api-skeleton
:
Lumen API skeleton with JWT to manager tokens, Socialite to OAuth Providers, MongoDB driver and Predis to Redis cache storage.
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
predis-adapter
?
Download (.md)
# Predis PSR-6 Cache pool [](https://gitter.im/php-cache/cache?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [](https://packagist.org/packages/cache/predis-adapter) [](https://codecov.io/github/php-cache/predis-adapter?branch=master) [](https://packagist.org/packages/cache/predis-adapter) [](https://packagist.org/packages/cache/predis-adapter) [](https://raw.githubusercontent.com/php-cache/predis-adapter/master/LICENSE) This is a PSR-6 cache implementation using Predis. It is a part of the PHP Cache organisation. To read about features like tagging and hierarchy support please read the shared documentation at [www.php-cache.com](http://www.php-cache.com). This implementation is using [Predis](https://github.com/nrk/predis). If you want an adapter with [PhpRedis](https://github.com/phpredis/phpredis) you should look at our [Redis adapter](https://github.com/php-cache/redis-adapter). ### Install ```bash composer require cache/predis-adapter ``` ### Use To create an instance of `PredisCachePool` you need to configure a `\Predis\Client` object. ```php $client = new \Predis\Client('tcp:/127.0.0.1:6379'); $pool = new PredisCachePool($client); ``` ### Contribute Contributions are very welcome! Send a pull request to the [main repository](https://github.com/php-cache/cache) or report any issues you find on the [issue tracker](http://issues.php-cache.com).