Skip to content

Http\Discovery\NotFoundException after upgrade to 4.3 #9

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

Closed
victorbosh opened this issue Dec 28, 2020 · 6 comments
Closed

Http\Discovery\NotFoundException after upgrade to 4.3 #9

victorbosh opened this issue Dec 28, 2020 · 6 comments

Comments

@victorbosh
Copy link

Http\Discovery\NotFoundException
No HTTPlug clients found. Make sure to install a package providing "php-http/client-implementation". Example: "php-http/guzzle6-adapter".

I see you do use Symfony\Component\HttpClient\HttplugClient; in your examples and 'client' => new HttplugClient(), but there is no such thing as Symfony\Component\HttpClient\HttplugClient

@jasonbosco
Copy link
Member

@babeuloula any thoughts on this?

@babeuloula
Copy link
Contributor

@victorbi Hi, can you tell me what kind of HTTP client you use ?

@victorbosh
Copy link
Author

I installed symfony/http-client and it works now, maybe you should add it in 'require', instead of 'require-dev'

@babeuloula
Copy link
Contributor

@victorbosh Nop, HTTPlug provide adapters and let the user the ability to use Guzzle, Symfony Client or any other http client.

@babeuloula
Copy link
Contributor

@victorbosh You can can read this section : https://github.com/typesense/typesense-php#usage

Typesense use HTTPlug. List of clients & adapters here

And read this link : http://docs.php-http.org/en/latest/clients.html

@victorbosh
Copy link
Author

I did. Anyway it is ok now, Thanks

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