I created a new Abstract Transport to use the new Symfony HttpClient component as HTTP client with Elastica.
jolicode/elastically#15
I'm willing to contribute this back to Elastica but I'm not sure it's appropriate to add in the core, as it's not standalone (needs symfony/http-client) and does not provide new features (except for Symfony Framework users).
What do you think, should I create a PR here?
Another concern of mine is #944 - one day we might not have transport in Elastica 🎉 but rely on the core elasticsearch-php client.
Thanks! 👍 😗