HTTPlug allows you to write reusable libraries that need an HTTP client without binding to a specific implementation. We provide adapters for existing HTTP Clients, so you can use your regular tools, even in compatible third-party packages. Furthermore, you can implement your own, if you would like to. Need to log each request? Authenticate a request? It's easy. Our powerful plugin system allows you to add custom logic to the request's lifecycle. This package also provides a synchronous HttpClient interface with the same method signature as the PSR-18 client. For synchronous requests, we recommend using PSR-18 directly.

Features

  • Decouple your package from implementation
  • Use your HTTP Client of choice
  • Separate logic using plugins
  • Write reusable libraries that need an HTTP client without binding to a specific implementation
  • We provide adapters for existing HTTP Clients
  • HTTP client standard built on PSR-7 HTTP messages

Project Samples

Project Activity

See All Activity >

Categories

HTTP Clients

License

MIT License

Follow HTTPlug

HTTPlug Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of HTTPlug!

Additional Project Details

Programming Language

PHP

Related Categories

PHP HTTP Clients

Registered

2023-05-10