http-interop/http-middleware
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| zendframework/zend-diactoros | 0.88 | 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 | |
| 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 | 3 days ago | |
| psr/http-server-middleware | 0.88 | 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 | |
| yiisoft/middleware-dispatcher | 0.88 | A PSR-15 middleware dispatcher for Yii applications. Build and execute middleware pipelines with lazy resolution through the DI container, fallback request handlers, and support for individual middleware or grouped stacks. Integrates cleanly with Yii's request handling and the PSR-7/PSR-15 ecosystem... | 18 | — | 8 | — | 1 | 2.8 | 0.4 | BSD-3-Clause | 10 months ago |
|
| psr/http-server-handler | 0.88 | PSR-15 HTTP Server RequestHandlerInterface package. Defines the standard request handler contract used with PSR-15 middleware and PSR-7 requests/responses. Provides interfaces only, not an implementation; implementations are available separately. | 182 | 194 | 12 | 9M | 0 | 1.9 | 55.3 | MIT | 3 years ago | |
| php-http/laravel-httplug | 0.88 | Laravel integration for HTTPlug that wires PSR-7/PSR-18 HTTP clients into the service container, provides package configuration and convenient Laravel access, and lets apps use interchangeable HTTPlug adapters for outbound HTTP requests. | 12 | 12 | 3 | 11 | 5 | 1.8 | 4.8 | MIT | 10 years ago | |
| middlewares/client-ip | 0.88 | A Laravel middleware for reliably resolving the client's real IP address, including requests passing through proxies, load balancers, and CDNs. Supports forwarded headers and configurable trusted proxies for accurate IP detection. | 16 | — | 8 | — | 1 | 0.4 | — | MIT | 1 year ago |
|
| tuupola/slim-basic-auth | 0.87 | Abandoned PSR-7/PSR-15 middleware providing HTTP Basic Authentication. Originally for Slim but works with any PSR-compatible framework (tested with Slim and Zend Expressive). Configure allowed username/password pairs and protect routes via middleware. | 441 | 459 | 65 | 27K | 8 | 6.6 | 27.6 | MIT | — | |
| middlewares/trailing-slash | 0.87 | Laravel middleware that normalizes trailing slashes by redirecting URLs to your preferred format, with configurable behavior, query-string preservation, and clean handling of requests that already match. | 32 | 34 | 2 | 17K | 0 | 0.2 | 37.6 | MIT | 1 year ago | |
| softonic/laravel-psr15-bridge | 0.87 | softonic/laravel-psr15-bridge integrates PSR-15 middleware into Laravel, letting you reuse compatible HTTP middleware within Laravel’s pipeline. It bridges PSR-15 interfaces and Laravel request handling for cleaner interoperability and more portable middleware. | 9 | — | 8 | — | 0 | 5.1 | — | NOASSERTION | 9 months ago | |
| psr/http-client | 0.87 | 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 | |
| laminas/laminas-httphandlerrunner | 0.87 | Laminas HTTP Handler Runner executes PSR-7 request handlers and PSR-15 middleware, emitting generated responses to the client in traditional PHP server environments. | 73 | 75 | 18 | 873K | 2 | 26.3 | 65.8 | BSD-3-Clause | 1 month ago | |
| psr/link | 0.87 | 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 | — | |
| psr/http-factory | 0.87 | 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 | |
| saritasa/laravel-middleware | 0.87 | A Laravel middleware package from Saritasa providing reusable, composable HTTP middleware for request filtering, response handling, and route-level concerns, helping keep controllers clean and application logic organized. | 2 | 2 | 1 | 56 | 0 | 0.0 | 12.6 | MIT | 2 years ago | |
| guzzlehttp/psr7 | 0.87 | PSR-7 HTTP message implementation for PHP: request, response, URI, uploaded file, and stream objects compatible with Guzzle and any PSR-7 library. Create or inspect messages without sending requests; includes factories and helpers. | 7,929 | 7,994 | 28 | 31M | 3 | 60.7 | 58.7 | MIT | 2 weeks ago | |
| juststeveking/http-slim | 0.87 | A lightweight Laravel package for slimming HTTP responses, trimming unnecessary headers and overhead so your app returns leaner, cleaner, faster responses with minimal configuration. | 7 | 7 | 3 | 107 | 0 | 0.5 | 16.0 | MIT | 5 years ago | |
| psr/http-message | 0.86 | 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. | 7,026 | 7,116 | 185 | 22M | 0 | 37.7 | 56.3 | MIT | 3 years ago | |
| psr-discovery/http-client-implementations | 0.86 | Discovers an installed PSR-18 HTTP client at runtime by checking for well-known implementations and returning the first available instance. Ideal for SDKs/libraries to support PSR-18 without hard dependencies or extra user configuration. | 7 | 7 | 5 | 725K | 0 | 9.2 | 58.6 | MIT | 7 months ago | |
| php-http/httplug | 0.86 | 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 |
How can I help you explore Laravel packages today?