cloudinary / cloudinary/cloudinary_php
Drop Guzzle requirement and replace with any PSR-18 HttpClient
- Linguagem predominante
- PHP
- Estrelas
- 399
- Forks
- 151
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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!
Guia de contribuição
Direção de pesquisa
Revise a configuração de dependências e o caminho de requisições do SDK para identificar onde Guzzle é necessário e como um cliente HTTP é selecionado. Está concluído quando o SDK puder usar qualquer cliente PSR-18, incluindo Symfony's HttpClient, mantendo uma forma de escolher o cliente quando Guzzle estiver instalado.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- php, symfony
- Domínio
- api, backend
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100