Closed nicolas-grekas closed 1 year ago
Hey @nicolas-grekas, thanks for taking your time away from Symfony to create this PR! ❤️ We've all been out on a whole-company trip in Mexico for the last week, but now that we're back, I'll take a look at this PR. Also, we'll try to find some time in the team in the upcoming sprints to investigate your suggestion about Guzzle 👍
My pleasure to help :) Let me know what you decide for PSR18! I'd be happy to help knowing it could be accepted. Did Helpscout ever consider sponsoring Symfony BTW? 😉
@nicolas-grekas I checked with the team, and we think that moving to PSR18 is generally a good idea. However, the main concern is not making the instantiation/configuration of the library more difficult for our customers (who may have limited PHP knowledge).
In fact, we used to use https://github.com/php-http/httplug to allow multiple HTTP Clients in earlier versions, but then we removed it in favor of just Guzzle for simplicity. This was several years ago though, so things may be different now!
The thing is this work is not considered a priority (and it's no small task), so with our backlog, it will likely need to wait a bit. I will try to make some room for initial discovery on this in our "special" sprint at the end of the quarter. Of course, any help would be more than welcome! 😄
As for the sponsorship, the first thing I can suggest is to check HS For Good, where I think you can get a 10% discount as a non-profit organization 💸 If you apply there, our team will look at your case.
Also, we have a Partners program, so I brought this to the attention of our partnerships team for a possible future partnership venture. If you give me a suitable contact email for this, I can pass it on to them!
And you can always reach out to help@helpscout.com to get more info -- if you have never contacted them, our customer team is the best!!
@nicolas-grekas BTW, I talked to our partnerships team and explained what Symfony is, and they would like to chat with you to discuss a bit further. Unless you tell me otherwise, I will pass your @symfony.com email on to my friend Pallavi, and she will get in touch, ok?
Review comments addressed. Sure, please share my email with Pallavi: nicolas.grekas before the domain name.
I was wondering if I could replace the dependency on Guzzle by a dependency on PSR-18, but it looks like too much work for me.
Still, here are some cleanups I found while having a look:
GuzzleHttp\Client
from the signature of methods, to make it easier to move away from it in the future if neededIt'd be great to decouple the SDK from Guzzle! :pray: