DEV Community


Discussion on: Building HTTP clients with Guzzle

titasgailius profile image
Titas Gailius Author

I don't mind coupling it to Guzzle either although I personally got really used with the last example because as your client might get more complicated (request logging, different authentication strategies, handling failed requests, refreshing tokens, etc.), it is pretty cool that you can extract all of that stuff to dedicated classes.