cloudinary / cloudinary/cloudinary_php

Drop Guzzle requirement and replace with any PSR-18 HttpClient

オープン
#396 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
399
フォーク
151
PR マージ指標
30日以内にマージされた PR はありません

説明

The current version of this SDK requires Guzzle. My application uses Symfony's HttpClient (which allows for automatic retries and integration with the debug toolbar, compelling reasons for me to use it).

Rather than recommending this library switch, better would be use only require that any PSR-18 http client be installed, and use it.

Here's an article about how and why: https://medium.com/php-fig/psr-18-the-php-standard-for-http-clients-3254c58752bb

At a minimum, even if Guzzle is installed, the developer should be able to choose what client they want to use for the requests.

Thanks!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。