cloudinary / cloudinary/cloudinary_php

Drop Guzzle requirement and replace with any PSR-18 HttpClient

Đang mở
#396 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
PHP
Star
399
Fork
151
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.