monospice / laravel-redis-sentinel-drivers

Redis Sentinel integration for Laravel and Lumen.
MIT License
101 stars 48 forks source link

phpredis can be used? #13

Closed over-star closed 6 years ago

over-star commented 6 years ago

hi,i have a question, phpredis can be used? if i dont use predis,only use phpredis extension?

cyrossignol commented 6 years ago

No, not yet. Currently, the package only supports Predis for the client. In the future, it will support the PhpRedis extension as well for Laravel 5.4+. I'm waiting to see if the PhpRedis project will merge this pull request before starting any significant work on this feature.

over-star commented 6 years ago

thks

rihards2333 commented 4 years ago

hi, phpredis package (https://github.com/phpredis/phpredis) now supports Redis Sentinel. Do you have any plans on adding phpredis support in here as well?

cyrossignol commented 4 years ago

Yes, I will add support for PhpRedis clients as the Sentinel API stabilizes. According to the release notes for PhpRedis 5.2.0 RC1:

IMPORTANT: Sentinel support is considered experimental and the API will likely change based on user feedback.

This package will not likely provide a stable release with support for the PhpRedis extension until the PhpRedis project itself releases a stable implementation of their Sentinel API, but I started working on the integration in the meantime to prepare.