swooletw / laravel-swoole

High performance HTTP server based on Swoole. Speed up your Laravel or Lumen applications.
MIT License
4.04k stars 390 forks source link

Why predis and not phpredis? #458

Closed fibis closed 3 years ago

fibis commented 3 years ago

Laravel recommends more and more phpredis as redis driver then predis. Is there a reason why predis is a requirement for this package and can it be dropped?

Arkanius commented 3 years ago

At the time that this package was created the default redis driver of Laravel was predis. After some times the official support of predis was dropped and Laravel recommended everyone to change predis to phpredis. Luckily, they gave up of dropping support to redis.