vetruvet / laravel-phpredis

Use phpredis as the redis connection in Laravel
Apache License 2.0
43 stars 9 forks source link

Question #8

Open masterpowers opened 8 years ago

masterpowers commented 8 years ago

If this work with Predis Alongside... I tried it, I install Predis/predis and vetruvet/laravel-phpredis.. both are added in my config/app.php And Both Service Provider Laravel Default and Your Package are Uncomment meaning both is being used... But the Facade They Both use same Facade...

When i Try to use it in php artisan tinker when i create a new Redis() class Predis\Client is the Object...

My Question if Predis Precede Over your App... Coz it is the Default One, How can I make it Use the Predis and Coat it with your package? So that PHPRedis will be used instead of the Normal Redis....

Can You Explain How Everything Works , Coz out of the Box Your Package cannot work with Cache Driver Redis... Only Predis can, but it will not use PHPRedis compiled.

is it possible to make your package a wrapper on predis ? to access the PHPRedis Class?

it would be awesome to really use phpredis

xxxcoltxxx commented 8 years ago

After that Laravel will be use Redis class from extension php-redis

For use redis directly you can use redis class from extension or LRedis as old Redis facade works fine for me: image