HTTPlug

The HTTP client abstraction for PHP.

Diagram

Decouple your package from implementation

HTTPlug allows you to write reusable libraries that need an HTTP client without binding to a specific implementation.

Read more about the why and how of the HTTP client abstraction in our documentation.

HTTP Clients

Use your HTTP Client of choice

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.

Plugins

Separate logic using plugins

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.

They are using HTTPlug

PHP Geocoder
PHP Geocoder
Fetches geocode data from many different APIs.
Mailgun
Mailgun
API client for Mailgun email service.
FOSHttpCache
FOSHttpCache
Integrate your application with HTTP caching proxy such as Varnish.
KNPLabs Github Api
KNPLabs Github client
An API client for GitHub.
LinkedIn
LinkedIn API client
An unofficial API client for communicating with LinkedIn API.
Swap
Swap
A money currency converter library.
Sparkpost
SparkPost API client
An API client for sending mails with SparkPost.
Payum
Payum
Everything you need regarding payment integration with different providers.
Okta
Okta
Identity as a Service. Okta is an Identity Platform for securing Apps and APIs with modern authentication flows.
Docker PHP
Docker PHP
A Docker client written in PHP.
Stampie
Flint's Stampie
A wrapper for different mail providers.
Nexmo
Nexmo's PHP SDK
Nexmo REST API client for PHP.
GraphAware Neo4j
GraphAwares's Neo4j client
The most popluar Neo4j client by GraphAware.
Prooph ServiceBus Http Producer
Prooph ServiceBus Http Producer
Http producer for the prooph service-bus
Akeneo PIM API
Akeneo PIM API client
PHP client of Akeneo PIM API
PandaClient
PandaClient
The PandaClient package provides an easy to use implementation of the Panda encoding services REST API.
Gitlab API client
Gitlab API client
A PHP wrapper to be used with Gitlab's API.
Sentry
Sentry
The official PHP SDK for Sentry (sentry.io)
Auth0
Auth0
Auth0-PHP SDK
HWIOAuthBundle
HWIOAuthBundle
OAuth client integration for Symfony.