cloudinary / cloudinary/cloudinary_php

Drop Guzzle requirement and replace with any PSR-18 HttpClient

Ouverte
#396 0 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
Langage dominant
PHP
Étoiles
399
Forks
151
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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!

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Examinez la configuration des dépendances et le chemin des requêtes du SDK afin d’identifier où Guzzle est requis et comment un client HTTP est sélectionné. Le travail est considéré comme terminé lorsque le SDK peut utiliser n’importe quel client PSR-18, y compris Symfony's HttpClient, tout en conservant un moyen de choisir le client lorsque Guzzle est installé.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
php, symfony
Domaine
api, backend
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.