middlewares/utils
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| http-interop/http-middleware | 0.87 | 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/request-handler | 0.87 | 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. | 43 | 46 | 5 | 71K | 0 | 4.9 | 44.3 | MIT | 1 year ago | |
| pdeans/http | 0.87 | 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 | |
| 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 | |
| devl0pr/request-manager-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 3.3 | — | MIT | 4 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 | |
| slick/http | 0.86 | Slick HTTP is a lightweight HTTP package for PHP, offering a clean API for building requests and handling responses. It integrates easily into Laravel or standalone projects and keeps external API calls simple, testable, and maintainable. | 0 | 1 | 0 | 224 | 0 | 2.8 | 33.3 | MIT | 10 months ago | |
| saritasa/laravel-middleware | 0.86 | 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 | |
| barryvdh/laravel-stack-middleware | 0.86 | A Laravel package by barryvdh that lets you register named middleware stacks and apply multiple middleware to routes with a single reference, keeping route definitions tidy and middleware configuration reusable. | 41 | 43 | 7 | 4K | 0 | 19.2 | 30.2 | MIT | 3 months ago | |
| tuupola/slim-basic-auth | 0.86 | 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 | — | |
| ekipower/symfony-helper | 0.86 | Lightweight helper package for Symfony projects by Ekipower. Provides utilities to streamline common tasks and reduce boilerplate. Minimal public docs; check source for available helpers, usage patterns, and licensing details. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| psr/http-factory | 0.85 | 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 | |
| middlewares/client-ip | 0.85 | 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.85 | 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 | |
| metaer/curl-wrapper-bundle | 0.85 | Symfony bundle that integrates the Metaer Curl Wrapper library, adding dependency-injection configuration and a ready-to-use HTTP client service for making cURL requests in PHP applications. | 2 | 2 | 0 | 234 | 1 | 0.4 | 26.2 | — | 5 years ago | |
| psr-discovery/all | 0.85 | — | 6 | 6 | 0 | 521K | 0 | 0.9 | 55.3 | MIT | 1 year ago | |
| psr-discovery/http-factory-implementations | 0.85 | Discovers a PSR-17 HTTP factory at runtime by scanning for well-known implementations and returning the first available instance. Ideal for libraries/SDKs that want PSR-17 support without hard dependencies or user configuration. PHP 8.2+. | 7 | 7 | 3 | 517K | 0 | 1.7 | 55.3 | MIT | 1 year ago | |
| loophp/psr17 | 0.85 | loophp/psr17 provides a PSR-17 HTTP message factory implementation for PHP, helping you create PSR-7 requests, responses, streams, URIs, and uploaded files in a standards-compliant way. Suitable for libraries and middleware needing PSR factories. | 1 | 1 | 0 | 8K | 1 | 3.5 | 54.2 | MIT | 3 years ago | |
| psr/http-server-handler | 0.85 | 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 |
How can I help you explore Laravel packages today?