Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laminas Mvc Laravel Package

laminas/laminas-mvc

Laminas MVC is a modular, event-driven MVC framework for PHP applications. It provides routing, controllers, view integration, dependency injection, and configuration management, helping you build scalable, maintainable web apps and APIs on top of Laminas components.

View on GitHub
Deep Wiki
Context7

Dispatching PSR-7 Middleware

PSR-7 defines interfaces for HTTP messages, and is now being adopted by many frameworks; Laminas itself offers a parallel microframework targeting PSR-7 with Mezzio. What if you want to dispatch PSR-7 middleware from laminas-mvc?

laminas-mvc currently uses laminas-http for its HTTP transport layer, and the objects it defines are not compatible with PSR-7, meaning the basic MVC layer does not and cannot make use of PSR-7 currently.

The package laminas-mvc-middleware is a laminas-mvc application module that enables dispatching of middleware, middleware pipes, and request handlers for route matches that contain a middleware parameter.

Built-in Optional Support Deprecation

With version 2.7.0, laminas-mvc began offering the now deprecated Laminas\Mvc\MiddlewareListener. The MiddlewareListener is always enabled, but requires optional dependencies installed to be used.
A new laminas-mvc module, laminas-mvc-middleware, transparently replaces it with Laminas\Mvc\Middleware\MiddlewareListener when registered with a laminas-mvc application.

Starting with version 3.2.0, the built-in Laminas\Mvc\MiddlewareListener will trigger deprecation level errors on any attempt to handle a route match containing a middleware parameter.

If your application currently depends on the built-in optional middleware support, laminas/laminas-mvc-middleware:~1.0.0 provides a drop-in replacement. If you use this new module, please note that the module Laminas\Mvc\Middleware must be enabled in your laminas-mvc application.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation
uri-template/tests