psr/http-client
PSR-18 interfaces and common code for HTTP clients in PHP. This package provides the standard abstractions (requests, responses, exceptions) for interoperability, not an actual client implementation. Find compatible implementations on Packagist.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| deeplcom/deepl-php | Official PHP client for the DeepL API. Translate text and documents with simple methods like translateText(), using your DeepL authentication key. Composer install, supports PHP 7.3+ with ongoing updates as the API evolves. | 261 | 264 | 30 | 345K | 23 | 37.8 | 60.8 | MIT | 1 week 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 | |
| elasticsearch/elasticsearch | Official PHP client for Elasticsearch. Connect to local or Elastic Cloud clusters and access 500+ REST API endpoints to index, search, retrieve, and delete documents, manage indices, and more, with docs and tooling for testing and mocking. | 5,343 | 5,520 | 971 | 3M | 13 | 72.9 | 50.1 | MIT | 2 months ago | |
| embed/embed | Extract rich metadata and embed code from any URL using oEmbed, Open Graph, Twitter Cards, and HTML scraping. Works with services like YouTube, Vimeo, Instagram, GitHub, and more. PHP 7.4+, cURL, PSR-17 compatible. | 2,147 | 2,172 | 319 | 262K | 70 | 66.5 | 65.4 | MIT | 10 months ago | |
| firebase/php-jwt | Encode and decode JSON Web Tokens (JWT) in PHP per RFC 7519. Supports common signing algorithms, key handling, and optional leeway for clock skew. Install via Composer; libsodium compatible via sodium_compat. | 9,784 | 10,020 | 1,276 | 10M | 10 | 73.0 | 54.6 | BSD-3-Clause | 1 week ago | |
| guzzlehttp/guzzle | Guzzle is a PHP HTTP client for sending sync or async requests with an easy API. Built on PSR-7 and PSR-18, supports middleware, cookies, streaming uploads/downloads, and JSON. Transport-agnostic for flexible integrations. | 23,450 | 24,300 | 2,382 | 16M | 16 | 75.5 | 60.2 | MIT | 7 months ago | |
| internal/dload | DLoad is a PHP tool to download and manage binary artifacts (RoadRunner, Temporal, custom tools) for your projects. It automates installs, pins versions, handles cross-platform builds, and keeps binaries out of VCS via CLI and config. | 101 | 99 | 3 | 17K | 17 | 35.2 | 42.2 | BSD-3-Clause | 1 week ago | |
| kreait/firebase-php | Unofficial Firebase Admin SDK for PHP. Manage authentication, users, custom tokens, and verify ID tokens; send Cloud Messaging notifications; work with Realtime Database, Cloud Storage, and Remote Config. Built on Google APIs with Laravel-friendly support. | 2,430 | 2,448 | 452 | 1M | 14 | 59.0 | 51.1 | MIT | 1 month ago | |
| laminas/laminas-validator | Laminas Validator provides flexible, reusable validation rules for PHP applications. Includes built-in validators, input filtering/validation chains, and tools for validating common data types like emails, URLs, numbers, strings, and more. | 155 | 160 | 61 | 989K | 16 | 36.5 | 69.0 | BSD-3-Clause | 1 month ago | |
| meilisearch/meilisearch-php | Official Meilisearch PHP SDK: a fast, easy API client to index documents, manage settings, and run searches with Meilisearch or Meilisearch Cloud. Supports popular HTTP clients and customizable transport. | 739 | 743 | 116 | 730K | 41 | 50.1 | 72.7 | MIT | 2 months ago | |
| mollie/mollie-api-php | Official PHP client for the Mollie Payments API. Easily create and manage payments, refunds, customers, subscriptions, and orders from your PHP app with a simple, well-documented wrapper around Mollie’s REST endpoints. | 600 | — | 201 | — | 4 | 30.3 | 2.2 | BSD-2-Clause | 1 month ago | |
| mozex/anthropic-php | Unofficial PHP client for Anthropic’s Claude API. Send messages, build prompts, and work with streaming responses using a simple, framework-friendly interface. Great for adding Claude-powered chat and automation to Laravel or any PHP app. | 47 | — | 9 | — | 0 | 20.5 | — | MIT | 1 week ago | |
| open-telemetry/sdk | OpenTelemetry PHP SDK implementation. Configure manually, via SDK Builder, or enable autoloading with OTEL_PHP_AUTOLOAD_ENABLED and environment-based settings. Use with exporters to generate and export traces, metrics, and other telemetry. | 22 | 25 | 7 | 1M | 0 | 29.6 | 65.0 | — | 2 weeks ago | |
| openai-php/client | Community-maintained PHP client for the OpenAI API. Works with models, responses, chat/conversations, files, images, audio, embeddings, fine-tuning, and more. Simple, typed SDK with streaming support, built for modern PHP and Laravel setups. | 5,761 | 5,776 | 679 | 2M | 16 | 75.1 | 50.8 | MIT | 3 weeks ago | |
| phalcon/phalcon | Phalcon is a high-performance PHP web framework delivered as a C extension, offering low overhead, fast request handling, and an MVC architecture. Includes routing, DI, ORM, templating, caching, and other tools for building modern PHP apps. | 245 | 245 | 50 | 12 | 94 | 22.6 | 26.7 | MIT | — | |
| 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/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/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. | 2,593 | 2,607 | 40 | 5M | 1 | 38.3 | 53.9 | 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 | |
| solarium/solarium | Solarium is a PHP client library for Apache Solr that models Solr concepts with a clean, documented API, simplifying complex query parameters beyond basic HTTP calls. Requires PHP 8.1+ and supports cURL, a pure-PHP adapter, or any PSR-18 client. | 935 | 957 | 300 | 555K | 11 | 46.0 | 50.0 | NOASSERTION | 5 months 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 | |
| typo3/cms-core | TYPO3 CMS Core provides the essential framework, APIs, and services for the TYPO3 content management system. It powers backend and frontend rendering, extensions, security, caching, routing, and site configuration for building and maintaining TYPO3-based websites. | 33 | 34 | 18 | 274K | 0 | 0.7 | 54.0 | GPL-2.0 | — | |
| zendframework/zend-validator | Powerful validation library from Zend Framework for PHP apps. Provides a wide range of reusable validators, input filtering, and custom rule support with clear error messages. Integrates easily into forms and domain validation workflows. | 179 | 181 | 133 | 98K | 41 | 22.0 | 62.9 | BSD-3-Clause | 6 years ago |
How can I help you explore Laravel packages today?