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 'RestClient' not found #10

Open
asosadeq opened this issue Apr 16, 2022 · 2 comments
Open

Class 'RestClient' not found #10

asosadeq opened this issue Apr 16, 2022 · 2 comments
Assignees

Comments

@asosadeq
Copy link

image

image

@hartator
Copy link
Contributor

Maybe try to add the line require 'path/to/restclient';?

If it works, we probably want to require it via require 'path/to/google-search-results'; instead of manually. What do you think @jvmvik? Thanks.

@jvmvik
Copy link
Collaborator

jvmvik commented Apr 19, 2022

rest client is transitive dependency which is handled by composer.
for example:
https://github.com/serpapi/google-search-results-php/tree/master/example_composer

but you can also directly install and require the dependency as described by @hartator

@jvmvik jvmvik self-assigned this Apr 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants