Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class "Redis" not found #190

Open
mohammad-azzam-dev opened this issue Feb 21, 2022 · 2 comments
Open

Class "Redis" not found #190

mohammad-azzam-dev opened this issue Feb 21, 2022 · 2 comments
Assignees

Comments

@mohammad-azzam-dev
Copy link

After implementing all of the steps this error is occurring

Class "Redis" not found, and it referencing it on this class:E:\projects\Laravel_projects\geopackadge\vendor\laravel\framework\src\Illuminate\Redis\Connectors\PhpRedisConnector.php : 32

on this line: return new PhpRedisConnection($connector(), $connector, $config);

@mohammad-azzam-dev
Copy link
Author

sorry I did not add also I added this in the controller that I made:
public function test(){
return app('geocoder')->geocode('Los Angeles, CA')->get();

}

and called it from a route

@mikebronner
Copy link
Member

To use a redis cache, you will also need to install a Redis driver:
https://laravel.com/docs/9.x/cache#driver-prerequisites

Please let me know if that resolves your issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants