whsv26/mediator
A lightweight Laravel mediator pattern implementation: dispatch commands and queries to dedicated, type-safe handlers through a middleware pipeline. Decouple request objects from business logic and keep controllers and services clean and focused.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bonnier/context-laravel | 0.77 | Laravel service provider and middleware for registering a request context. Install via Composer, add the ContextServiceProvider in config/app.php, and enable the RegisterContext middleware in Http/Kernel.php to make context available across your app. | 0 | 0 | 0 | 0 | 1 | 6.4 | — | — | 6 years ago | |
| willdurand/negotiation | 0.77 | HTTP content negotiation library for PHP. Parses Accept* headers to match the best media type, language, charset, or encoding, with flexible matchers and prioritization. Handy for APIs and middleware to select response formats based on client preferences. | 1,420 | 1,434 | 64 | 3M | 6 | 20.2 | 49.8 | MIT | 4 years ago | |
| yiisoft/middleware-dispatcher | 0.77 | 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 |
|
| middlewares/request-handler | 0.77 | 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 | |
| darthsoup/php-whmcs-api | 0.76 | A lightweight PHP client for the WHMCS API, offering fluent methods to query clients, orders, invoices, tickets, and more. Simplifies authentication and API responses so you can integrate WHMCS billing and support data into PHP or Laravel apps with minimal setup. | 20 | 21 | 10 | 1K | 0 | 15.5 | 28.4 | MIT | 3 months ago | |
| termyn/cqrs | 0.76 | A lightweight CQRS package for Laravel that separates writes from reads. Route commands and queries through dedicated buses to single-purpose handlers, keeping controllers thin and application logic organized, testable, and easy to extend. | 0 | 0 | 0 | 15 | 0 | 0.0 | 16.6 | MIT | — | |
| psr/http-server-middleware | 0.75 | 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 | |
| teksite/handler | 0.75 | Teksite Handler is a Laravel package that gives you a simple handler pattern for organizing business logic into clean, reusable classes, keeping controllers thin and your application easy to maintain. | 1 | — | 0 | — | 0 | 19.6 | — | — | 1 week ago | |
| laminas/laminas-httphandlerrunner | 0.75 | 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 | |
| avris/dispatcher | 0.75 | Laravel-friendly message/event dispatcher providing a simple bus for commands and events with pluggable handlers, middleware-style pipelines, and clear separation of dispatching from handling. Useful for modular apps, CQRS patterns, and decoupled architecture. | 0 | 0 | — | 9 | — | 0.0 | 13.8 | — | — | |
| http-interop/http-middleware | 0.75 | 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 | — | |
| codingculture/request-resolver-bundle | 0.75 | — | 1 | 1 | 2 | 1K | 1 | 12.2 | 41.3 | — | 7 months ago | |
| psr/http-server-handler | 0.75 | 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 | |
| juststeveking/laravel-transporter | 0.74 | Laravel Transporter is a clean, class-based HTTP client for Laravel. Build reusable API clients with configurable base URLs, headers, requests, and responses, keeping external service integrations simple, testable, and maintainable. | 479 | 479 | 24 | 2K | 2 | 16.5 | 11.1 | MIT | 4 months ago | |
| danog/advanced-json-rpc | 0.74 | PHP JSON-RPC 2.0 dispatcher with request/response helpers. Decodes JSON-RPC calls and invokes target methods, coercing params via type hints and @param docs. Supports nested targets (configurable delimiter like "->" or "/"). | 16 | 15 | 3 | 1M | 0 | 0.8 | 56.8 | ISC | — | |
| revision-ten/cqrs | 0.74 | A lightweight CQRS package for Laravel that separates writes from reads using commands, queries, handlers, and buses. It helps organize business logic into clear, testable actions with simple Laravel-friendly integration. | 2 | 2 | 0 | 48 | 0 | 0.0 | 17.0 | MIT | — | |
| lmc/cqrs-handler | 0.74 | 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 | |
| shureban/laravel-easy-request | 0.74 | Laravel package that adds typed getters to FormRequest via PHPDoc @method annotations. Call $request->name(), $request->age(), etc., and values are cast to bool/int/float/Carbon/DateTime. Supports camelCase methods with snake_case input keys. | 3 | 3 | 0 | 252 | 0 | 0.9 | 25.0 | MIT | 2 years ago | |
| larajax/larajax | 0.74 | Larajax is a lightweight Laravel package for AJAX-driven interactions, with helpers to submit forms, load content, and refresh page sections without writing much JavaScript. It integrates with Blade and Laravel routing for simpler dynamic UIs, ideal for CRUD screens and partial updates. | 36 | 36 | 5 | 17K | 1 | 4.0 | 37.7 | MIT | 10 months ago | |
| djunehor/laravel-put-helper | 0.74 | Laravel middleware/helper that makes PUT request payloads easy to access, including uploaded files. Once installed, PUT input and files are available like normal request data, with support for validating file parameters using put_file. | 2 | 2 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago |
How can I help you explore Laravel packages today?