This package provides an asynchronous HTTP client for PHP based on Amp. Its API simplifies standards-compliant HTTP resource traversal and RESTful web service consumption without obscuring the underlying protocol. The library manually implements HTTP over TCP sockets; as such it has no dependency on ext/curl. Streams entity bodies for memory management with large transfers. Supports all standard and custom HTTP method verbs. Simplifies HTTP form submissions. Implements secure-by-default TLS. Supports cookies and sessions. Functions seamlessly behind HTTP proxies. Additionally, you might want to install the nghttp2 library to take advantage of FFI to speed up and reduce the memory usage on PHP 7.4. More extensive code examples reside in the examples directory.

Features

  • Pools persistent connections (keep-alive @ HTTP/1.1, multiplexing @ HTTP/2)
  • Transparently follows redirects
  • Requests concurrently by default
  • Supports HTTP/1 and HTTP/2
  • Decodes compressed entity bodies (gzip, deflate)
  • Exposes headers and message data

Project Samples

Project Activity

See All Activity >

Categories

HTTP Clients

License

MIT License

Follow HTTP Client

HTTP Client Web Site

Other Useful Business Software
Enterprise-grade ITSM, for every business Icon
Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity.

Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of HTTP Client!

Additional Project Details

Programming Language

PHP

Related Categories

PHP HTTP Clients

Registered

2022-02-28