yiisoft/middleware-dispatcher
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...
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| middlewares/trailing-slash | 0.88 | 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 | |
| http-interop/http-middleware | 0.86 | 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 | — | |
| psr/http-server-middleware | 0.86 | 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 | |
| psr-discovery/event-dispatcher-implementations | 0.86 | Discovers installed PSR-14 event dispatcher implementations (Symfony, League, Yiisoft, etc.) at runtime and returns the first available instance. Ideal for libraries/SDKs to support PSR-14 without hard dependencies or user configuration. | 7 | 7 | 1 | 514K | 0 | 1.3 | 55.3 | MIT | 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 | 2 days ago | |
| yiisoft/injector | 0.86 | PSR-11 compatible dependency injector with autowiring. Resolves and injects dependencies when calling functions or creating objects, supports extra arguments by name or type, and handles variadic parameters. Works with any PSR-11 container. | 93 | 94 | 17 | 240K | 6 | 24.1 | 57.1 | BSD-3-Clause | 1 week 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 | |
| psr/event-dispatcher | 0.86 | PSR-14 interfaces for event dispatching in PHP. Defines standard contracts for dispatchers, listeners, and providers to enable interoperability between frameworks and libraries. Not an implementation—use a compatible PSR-14 dispatcher package. | 2,287 | 2,291 | 23 | 27M | 0 | 12.3 | 55.3 | MIT | — | |
| middlewares/client-ip | 0.86 | 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 |
|
| hoa/dispatcher | 0.86 | Hoa\Dispatcher is a PHP component for routing and dispatching requests to controllers, offering a flexible foundation for MVC-style applications. It integrates with Hoa\Router and supports customizable dispatch rules and controller resolution. | 12 | 8 | 9 | 2K | 5 | 2.2 | 33.7 | — | 9 years ago | |
| lmc/cqrs-handler | 0.86 | Laravel CQRS handler package that simplifies command and query buses with automatic handler resolution, dependency injection, and clean separation of write and read logic. Ideal for structuring growing applications with maintainable, testable business actions. | 1 | 1 | 2 | 3K | 0 | 17.0 | 49.1 | MIT | 2 months ago | |
| yiisoft/network-utilities | 0.85 | Network utilities for PHP, including helpers for validating and normalizing IPv4/IPv6 addresses, checking private/reserved ranges, working with subnets, and converting IP addresses to and from binary form. Useful for access rules, logging, and network-aware validation. | 28 | — | 9 | — | 0 | 1.8 | — | BSD-3-Clause | 11 months ago |
|
| rareloop/router | 0.85 | Rareloop Router is a lightweight, fast PHP router built around PSR-7 and PSR-15. It supports route parameters, groups, middleware, named routes and route caching, making it easy to add clean, expressive routing to any PHP application without a full framework. | 87 | — | 9 | — | 0 | 11.5 | — | MIT | 5 months ago |
|
| yiisoft/yii-http | 0.85 | A lightweight HTTP layer for Yii, offering request/response handling, middleware support, and PSR standards integration. It provides clean abstractions for building structured, testable web endpoints that fit Yii's DI and configuration conventions. | 10 | 10 | 3 | 22K | 1 | 3.0 | 46.7 | BSD-3-Clause | 10 months ago | |
| yiisoft/data-response | 0.85 | yiisoft/data-response provides a PSR-7 response wrapper for returning structured data from your application. It supports multiple output formats, content negotiation, and streaming, making it easy to send JSON, XML, HTML, or raw data consistently. | 20 | 20 | 13 | 21K | 7 | 8.8 | 45.8 | BSD-3-Clause | 8 months ago | |
| 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 | |
| developermarius/simple-router | 0.85 | A lightweight, easy-to-use router for Laravel and PHP applications. Define clean routes with minimal configuration, map URLs to controllers or closures, and keep setup simple—ideal for small projects or developers who want straightforward routing without extra complexity. | 11 | 11 | 8 | 35 | 2 | 0.7 | 8.2 | — | 1 year 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 | |
| yiisoft/event-dispatcher | 0.85 | PSR-14 event dispatcher for Yii applications with a simple listener API, listener providers, dependency injection support, and extensible configuration. Lightweight and framework-agnostic, it helps decouple components by dispatching events to typed listeners. | 73 | 73 | 23 | 35K | 2 | 1.6 | 37.2 | BSD-3-Clause | 4 years ago | |
| yiisoft/factory | 0.85 | A flexible factory for Yii3 that creates objects from class names, definitions, or callables, resolving constructor dependencies through a PSR-11 container. Ideal for configurable services and dependency injection setups. | 36 | 37 | 14 | 19K | 5 | 3.6 | 39.0 | BSD-3-Clause | 11 months ago |
How can I help you explore Laravel packages today?