Lullabot / amp-library

Convert HTML to AMP HTML and report HTML compliance with the AMP HTML specification
Other
381 stars 178 forks source link

refacto: remove Guzzle, use HTTPlug instead #303

Closed Kocal closed 1 month ago

Kocal commented 2 years ago

When writing those lines, the library is stuck with Guzzle 6, which prevent us to update some of our dependencies due to conflicts.

A library should not depending of a HttpClient implementation, but should instead use the PSR's interfaces (and HTTPlug), so the user is free to use whatever HttpClient he wants.