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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New to Google Cloud? Get $300 in credits to explore Compute Engine, BigQuery, Cloud Run, Gemini Enterprise Agent Platform, and more.

Start your next project with $300 in free Google Cloud credit. Spin up VMs, run containers, query petabytes in BigQuery, or build agents with Gemini Enterprise Agent Platform. Once your credits are used, keep building with 20+ always-free tier products including Compute Engine, Cloud Storage, GKE, and Cloud Run functions. No commitment required—just sign up and start building.
Claim $300 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