Questions tagged [httpful]

Httpful - A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.

Httpful is a simple Http Client library for PHP 5.3+. There is an emphasis of readability, simplicity, and flexibility – basically provide the features and flexibility to get the job done and make those features really easy to use.


Features

  • Readable HTTP Method Support (GET, PUT, POST, DELETE, HEAD, PATCH & OPTIONS)
  • Custom Headers
  • Automatic "Smart" Parsing
  • Automatic Payload Serialization
  • Basic Auth
  • Client Side Certificate Auth
  • Request "Templates"

Documentation :

40 questions
1
vote
1 answer

How to redirect/forward request in php?

I use httpful to send http request and get the response to display in request.php include('httpful.phar'); $response = \Httpful\Request::get('http://domain/response.php')->send(); echo '