middlewares/request-handler
PSR-15/PSR-7 request handler middleware for PHP. Build a flexible pipeline that routes an incoming ServerRequest to your handler stack, with clean delegation and composable middlewares—ideal for frameworks or custom apps needing standard request processing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| http-interop/http-middleware | 0.88 | 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 | — | |
| 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 |
|
| 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/http-server-middleware | 0.87 | 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 | |
| symfony/psr-http-message-bridge | 0.86 | 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 | |
| relay/relay | 0.86 | Relay is a Laravel package for creating and managing redirects. Store rules in the database or config, match incoming requests with middleware, and return 301/302 responses—keeping old URLs and broken links working with a simple, cache-friendly API. | 330 | 335 | 18 | 72K | 0 | 2.5 | 32.3 | MIT | 2 years ago | |
| imanghafoori/laravel-middlewarize | 0.86 | — | 113 | 114 | 5 | 7 | 0 | 2.2 | 0.4 | MIT | 2 years ago | |
| bensonirah/handler-exception | 0.86 | — | 0 | 1 | 0 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| 14four/laravel-force-https | 0.86 | Laravel middleware package to force HTTPS across your app. Automatically redirects HTTP requests to HTTPS, with options to exclude paths or environments so you can keep local/testing flexible while enforcing secure connections in production. | 0 | 0 | — | 0 | — | 0.0 | — | — | — | |
| middlewares/fast-route | 0.86 | PSR-15 middleware that integrates FastRoute for route matching and handler discovery. Adds the matched handler and route parameters as request attributes, and can generate 404/405 responses via a PSR-17 response factory (auto-detected by default). | 94 | 98 | 7 | 5K | 0 | 5.5 | 23.4 | MIT | 1 year ago | |
| demroos/api-gateway-bundle | 0.86 | — | 0 | 0 | 1 | 0 | 0 | 0.6 | — | — | 5 years ago | |
| psr/http-server-handler | 0.86 | 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 | |
| illuminatech/multipart-middleware | 0.85 | Laravel middleware that parses multipart/form-data requests for PUT, PATCH, and other non-POST methods, populating the request with regular input and uploaded files so you can handle file uploads on any HTTP verb. | 33 | — | 6 | — | 0 | 0.3 | — | NOASSERTION | — | |
| yansongda/artful | 0.85 | Artful is a PHP API request framework with Swoole support, a flexible plugin mechanism, and a rich event system. It separates request logic from process, keeps each request and plugin in its own file, and follows PSR-2, 3, 4, 7, 11, 14, and 18 standards for easy framework integration. | 14 | 13 | 3 | 10K | 1 | 17.4 | 45.2 | MIT | 2 months ago | |
| pdeans/http | 0.85 | Lightweight PSR-7 cURL HTTP client with PSR-17 factory support, built on Laminas Diactoros. Configure via curl options and use helper methods for GET/POST/PUT/PATCH/DELETE/HEAD/TRACE with headers and optional body streams/resources. | 14 | 14 | 2 | 109 | 0 | 2.5 | 12.7 | NOASSERTION | 1 year ago | |
| dormilich/http-client | 0.85 | Lightweight PHP HTTP client wrapper focused on simple requests and responses, with a clean API for common HTTP methods and header/body handling. Useful as a minimal dependency for sending HTTP calls without a full-featured framework. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| devl0pr/request-manager-bundle | 0.85 | — | 0 | 0 | 0 | 0 | 0 | 3.3 | — | MIT | 4 years ago | |
| tuupola/slim-basic-auth | 0.85 | 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 | — | |
| chrisguitarguy/request-id-bundle | 0.85 | — | 45 | 45 | 26 | 22K | 2 | 1.5 | 37.4 | MIT | — | |
| middlewares/utils | 0.85 | Common utilities for Middlewares PSR packages: auto-discovered PSR-7/PSR-17 Factory (Diactoros, Guzzle, Slim, Nyholm, Sunrise) plus PSR-15 Dispatcher for testing, callable handler helpers, and HTTP error exceptions. | 49 | 50 | 12 | 138K | 1 | 9.7 | 47.5 | MIT | 1 year ago |
How can I help you explore Laravel packages today?