php-http/httplug
HTTPlug provides HTTP client abstraction interfaces for PHP, built on PSR-7 messages. Defines async HttpAsyncClient plus a sync HttpClient similar to PSR-18, enabling libraries to stay client-agnostic while supporting multiple HTTP implementations.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| andrewmy/rabbitmq-management-api | PHP 7.1+/8 wrapper for the RabbitMQ Management HTTP API. Provides an object-oriented client for queues, exchanges, publish, and more, using PHP-HTTP/HTTPlug so you can plug in any compatible HTTP client (e.g., Guzzle adapter). | 0 | 0 | 8 | 4K | 0 | 21.3 | 59.1 | MIT | 3 months ago | |
| elastic/transport | PSR-7/17/18 HTTP transport library for Elastic PHP clients. Uses HTTPlug discovery for clients/factories and supports async via compatible PSR-18 clients (e.g., Guzzle, Symfony). Falls back to a built-in cURL client if none found. | 19 | 18 | 18 | 1M | 4 | 29.0 | 66.8 | MIT | 11 months ago | |
| florianv/exchanger | Exchanger is a PHP framework for retrieving currency exchange rates from multiple providers (Fixer, Currency Data, Exchange Rates Data, and more). It offers a unified API for live and historical rates, supporting different base/quote currency constraints per service. | 187 | 187 | 90 | 75K | 0 | 32.6 | 42.3 | MIT | 4 weeks ago | |
| knplabs/github-api | Lightweight, well-tested PHP wrapper for GitHub APIs v3 (REST) and v4 (GraphQL). PSR-17/PSR-18 compatible via HTTPlug, with easy setup using Guzzle, Symfony HttpClient, or other PSR clients. Supports framework integrations (Laravel via graham-campbell/github). | 2,200 | 2,227 | 592 | 489K | 39 | 67.8 | 59.7 | MIT | 1 year ago | |
| m4tthumphrey/php-gitlab-api | Modern GitLab API v4 client for PHP 8.1–8.4. Provides a clean, php-github-api-inspired interface to GitLab endpoints, with PSR-18 HTTP client and PSR-17 factory support for flexible integration and authentication. | 948 | 956 | 458 | 97K | 5 | 50.6 | 42.1 | MIT | 1 year ago | |
| php-http/client-common | Common utilities for HTTPlug HTTP clients: a BatchClient for parallel requests, a convenience client exposing HTTP verbs as methods, and emulator/decorator layers for sync and async clients. Designed to simplify client composition and tooling. | 1,049 | 1,052 | 53 | 4M | 12 | 39.6 | 63.7 | MIT | 4 months ago | |
| php-http/client-integration-tests | Integration test suite for PHP-HTTP clients. Helps verify that any HTTPlug/PSR-18 compatible client behaves correctly and consistently across common scenarios, making it easier to validate implementations and avoid regressions. | 16 | 17 | 9 | 526 | 1 | 24.4 | 24.5 | MIT | 3 months ago | |
| php-http/discovery | Auto-discovery for HTTP clients and factories: finds PSR-18 clients and PSR-17/PSR-7 implementations at runtime, so libraries can depend on interfaces without forcing a specific vendor. Includes a Composer plugin for optional auto-installation. | 1,321 | 1,328 | 47 | 7M | 3 | 37.9 | 61.8 | MIT | 1 year ago | |
| php-http/guzzle7-adapter | PSR-7/PSR-18 adapter for Guzzle 7 used by HTTPlug. Lets libraries using PHP-HTTP talk through Guzzle 7 with a standard client interface, including synchronous requests and integration-friendly configuration for modern PHP projects. | 90 | 88 | 7 | 2M | 2 | 22.3 | 65.0 | MIT | 1 year ago | |
| php-http/mock-client | Mock HTTP client for HTTPlug/PHP-HTTP. Stores outgoing requests and returns queued responses or throws exceptions instead of making real network calls—ideal for unit tests of HTTP-dependent code. Install via Composer as a dev dependency. | 71 | 75 | 17 | 234K | 0 | 26.1 | 57.1 | MIT | 1 year ago | |
| symfony/http-client | Symfony HttpClient provides a modern API to fetch HTTP resources synchronously or asynchronously. Supports efficient streaming, retries, and multiple transports, making it easy to integrate robust HTTP requests into Symfony or any PHP app. | 2,033 | 2,047 | 52 | 7M | 0 | 43.1 | 57.7 | MIT | 1 week ago | |
| typesense/typesense-php | Official PHP client for the Typesense search API. Built on HTTPlug for flexible HTTP adapters, with examples for indexing, searching, and filtering (including safe filter value escaping). Install via Composer and use with compatible Typesense Server versions. | 264 | 263 | 53 | 431K | 2 | 32.4 | 52.6 | Apache-2.0 | 1 month ago |
How can I help you explore Laravel packages today?