-
install predis/predis
-
use Illuminate\Support\Facades\Redis; don't use Redis directly.
Created
November 25, 2017 15:28
-
-
Save slow-is-fast/607eb9686cd33a555ee53b6c974acfad to your computer and use it in GitHub Desktop.
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use Illuminate\Support\Facades\Redis; don't use Redis directly.
or will throw Exception below:
Error: Non-static method Redis::command() cannot be called statically