nategood / httpful

A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.
MIT License
1.74k stars 298 forks source link

new code-base with PSR standards #282

Open voku opened 4 years ago

voku commented 4 years ago

Hi, I forked this project some time ago, because I wanted to lean something from other devs code, in the mean time, I added some features that maybe helpfull for others also. :)

new features:


This change is Reviewable

codecov-io commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@a29ca5c). Click here to learn what that means. The diff coverage is 62.78%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #282   +/-   ##
=========================================
  Coverage          ?   64.51%           
  Complexity        ?     1093           
=========================================
  Files             ?       27           
  Lines             ?     2725           
  Branches          ?        0           
=========================================
  Hits              ?     1758           
  Misses            ?      967           
  Partials          ?        0
Impacted Files Coverage Δ Complexity Δ
src/Httpful/Request.php 67.89% <ø> (ø) 347 <0> (?)
src/Httpful/Exception/ClientErrorException.php 0% <0%> (ø) 7 <7> (?)
src/Httpful/Proxy.php 0% <0%> (ø) 0 <0> (?)
src/Httpful/Handlers/JsonMimeHandler.php 100% <100%> (ø) 7 <7> (?)
src/Httpful/Handlers/AbstractMimeHandler.php 100% <100%> (ø) 1 <1> (?)
src/Httpful/ClientMulti.php 15.2% <15.2%> (ø) 37 <37> (?)
src/Httpful/Handlers/XmlMimeHandler.php 16.66% <16.66%> (ø) 23 <23> (?)
src/Httpful/Factory.php 28.57% <28.57%> (ø) 12 <12> (?)
src/Httpful/Handlers/CsvMimeHandler.php 36% <36%> (ø) 9 <9> (?)
src/Httpful/UriResolver.php 39.21% <39.21%> (ø) 54 <54> (?)
... and 17 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a29ca5c...d447cb1. Read the comment docs.