psr/http-message
PSR-7 HTTP message interfaces for PHP (Request/Response, Streams, URIs, UploadedFiles). Defines common contracts only—no concrete implementation. Ideal for framework-agnostic middleware and libraries needing interoperable HTTP message types.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-http/httplug | 0.92 | 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,586 | 2,599 | 40 | 7M | 1 | 18.2 | 47.4 | MIT | 2 years ago | |
| psx/http | 0.91 | PSX HTTP is a lightweight PHP HTTP component for handling requests and responses, including PSR-7-style message abstractions and utilities for building HTTP-aware applications. It fits the PSX framework ecosystem and can be used standalone for routing-adjacent request/response work. | 3 | 3 | 2 | 5K | 0 | 0.1 | 42.6 | Apache-2.0 | — | |
| psr/link | 0.91 | PSR-13 link definition interfaces for PHP. Provides standard LinkInterface and LinkProviderInterface contracts used to describe and expose web links. Not an implementation—interfaces only; use a compatible psr/link-implementation package. | 2,488 | 2,504 | 13 | 3M | 0 | 12.8 | 42.6 | MIT | — | |
| php-http/client-common | 0.91 | 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,051 | 1,054 | 55 | 6M | 13 | 22.1 | 57.6 | MIT | 11 months ago | |
| zendframework/zend-diactoros | 0.90 | zendframework/zend-diactoros provides PSR-7 HTTP message implementations for PHP, including ServerRequest, Response, Stream, UploadedFile and Uri. Useful for building middleware, APIs and frameworks with interoperable request/response handling. | 1,518 | 1,593 | 146 | 197K | 27 | 14.6 | 26.7 | BSD-3-Clause | 6 years ago | |
| psr/http-client | 0.90 | 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. | 1,717 | 1,728 | 17 | 29M | 0 | 11.2 | 55.3 | MIT | 3 years ago | |
| nyholm/psr7 | 0.90 | Nyholm PSR-7 is a super lightweight, strict, and fast implementation of PSR-7 with full PSR-17 factories and HTTPlug/PSR-18 compatibility. Create requests, streams, URIs, and server requests with minimal overhead. | 1,277 | 1,297 | 77 | 14M | 4 | 17.0 | 56.1 | MIT | 2 years ago | |
| http-interop/http-factory | 0.90 | http-interop/http-factory defines standard interfaces for creating PSR-7 HTTP messages and URIs, providing a PSR-17 precursor API that decouples your code from concrete HTTP implementations. Install via Composer for interoperable factory support. | 60 | 62 | 3 | 2K | 0 | 0.2 | 15.8 | MIT | 8 years ago | |
| psr/http-server-middleware | 0.90 | PSR-15 HTTP server middleware interfaces for PHP. Provides the MiddlewareInterface specification used by request handlers and middleware stacks; no implementation included. Install via psr/http-server-middleware and use with compatible frameworks or libraries. | 187 | 201 | 11 | 6M | 0 | 1.6 | 55.3 | MIT | 3 years ago | |
| ricardofiorani/guzzle-psr18-adapter | 0.90 | Tiny adapter that lets you use Guzzle as a PSR-18 HTTP client. Bridges PSR-7 requests/responses and promises to the PSR-18 ClientInterface, easing migration to standards-based HTTP without rewriting existing Guzzle integrations. | 14 | 14 | 3 | 1K | 0 | 2.1 | 26.0 | MIT | 5 years ago | |
| psr/cache | 0.90 | PSR-6 caching interfaces for PHP. Defines CacheItemPoolInterface and CacheItemInterface contracts for interoperable caching, without providing an implementation. Use with any PSR-6 compatible cache library (see Packagist providers). | 5,174 | 5,205 | 46 | 15M | 0 | 26.4 | 47.7 | MIT | — | |
| psr/http-factory | 0.90 | PSR-17 HTTP message factory interfaces for creating requests, responses, streams, URIs, and uploaded files. This package provides only the standard interfaces (no implementation). Find compatible implementations on Packagist. | 1,888 | 1,896 | 27 | 21M | 0 | 10.9 | 55.3 | MIT | 2 years ago | |
| loophp/psr-http-message-bridge-bundle | 0.89 | Symfony bundle that bridges PSR-7 HTTP messages with Symfony’s HttpFoundation, enabling smooth interop between PSR-7 libraries and Symfony apps. Provides converters/adapters to translate requests and responses in both directions. | 3 | 3 | 1 | 3K | 1 | 14.1 | 46.2 | MIT | 7 months ago | |
| alextartan/guzzle-psr18-adapter | 0.89 | PSR-18 HTTP client adapter for Guzzle. Wraps Guzzle to provide a PSR-18 ClientInterface, letting you send PSR-7 requests and receive PSR-7 responses with standard client/network/request exceptions. Requires PHP 7.2+. | 2 | 3 | 0 | 5K | 0 | 2.8 | 44.3 | Apache-2.0 | 5 years ago | |
| phrity/net-uri | 0.89 | Lightweight PSR-7 UriInterface and PSR-17 UriFactory implementation not tied to HTTP messaging. Supports any valid scheme plus helpful extras like query item helpers, component access, equals/string/json support, and immutable with* methods. | 9 | 9 | 2 | 402K | 0 | 8.4 | 58.0 | MIT | 11 months ago | |
| http-interop/http-middleware | 0.89 | Interfaces for reusable PSR-7/PSR-15-style HTTP middleware components, enabling interoperability across frameworks and libraries. Define, compose, and share middleware pipelines with minimal coupling between request handlers and implementations. | 71 | 76 | 7 | 10K | 0 | 0.3 | 20.9 | MIT | — | |
| egeloen/http-adapter | 0.89 | Deprecated HTTP client abstraction for PHP 5.4.8+ that issues requests via multiple adapters (cURL, Guzzle, Buzz, Zend, etc.) and follows PSR-7 message standards. Bugfixes only; new features moved to php-http. | 157 | 158 | 17 | 18K | 0 | 1.3 | 28.4 | MIT | — | |
| php-http/psr7-integration-tests | 0.89 | A PHPUnit-based integration test suite for PSR-7 HTTP message implementations. It verifies requests, responses, streams, URIs, and headers against the PSR-7 specification, helping libraries like Guzzle, Laminas, Slim, and Nyholm ensure compliance. | 41 | 42 | 23 | 3K | 1 | 22.8 | 30.1 | MIT | 2 weeks ago | |
| psr/container | 0.89 | The PSR-11 Container Interface defines core abstractions for dependency injection in PHP. It’s a standard abstraction, not an implementation—used by DI containers like Laravel’s Illuminate\Container. Essential for dependency management, ensuring interoperability across container implementations. | 9,992 | 10,026 | 54 | 30M | 3 | 29.7 | 49.4 | MIT | 5 years ago | |
| symfony/psr-http-message-bridge | 0.88 | Symfony PSR-7 Bridge integrates PSR-7 HTTP messages with Symfony's HttpFoundation, letting you convert requests and responses between the two in either direction. Useful for middleware and libraries built on PSR-7. | 1,293 | 1,299 | 56 | 16M | 0 | 38.6 | 65.0 | MIT | 2 days ago |
How can I help you explore Laravel packages today?