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

Request Handler Laravel Package

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.

View on GitHub
Deep Wiki
Context7
2.1.0

Added

  • Support for PHP 8.4
2.0.3

Added

  • Support for psr/http-message 2 [#14]
2.0.2

Added

  • Support psr/container 2 [#13]
2.0.1

Added

  • Support for PHP 8.0
2.0.0

Removed

  • Support for PHP 7.0 and 7.1
1.4.0

Added

  • Support for arrays with 2 strings as request handler

Fixed

  • Use phpstan as a dev dependency to detect bugs
1.3.0

Added

  • New option continueOnEmpty() to continue with the next middleware if the request attribute is empty or does not exists.
1.2.0

Added

  • PSR-17 support
1.1.0

Added

  • Support for any callable, not only Closure.
1.0.1

Fixed

  • Fixed the suggested package in composer.json
1.0.0

Added

  • Improved testing and added code coverage reporting
  • Added tests for PHP 7.2
  • Added support for Closure handlers

Changed

  • Upgraded to the final version of PSR-15 psr/http-server-middleware

Fixed

  • Updated license year
0.5.0

Added

  • Support for handlers implementing MiddlewareInterface.
  • Support for handlers implementing RequestHandlerInterface.

Changed

  • Changed the constructor signature: Instead a Middlewares\Utils\CallableResolverInterface, now only Psr\Container\ContainerInterface is accepted.

Removed

  • Removed arguments() option
  • Removed support for callable handlers. They must implement RequestHandlerInterface or MiddlewareInterface.
0.4.0

Changed

  • Replaced http-interop/http-middleware with http-interop/http-server-middleware.

Removed

  • Removed support for PHP 5.x.
0.3.0

Changed

  • Append .dist suffix to phpcs.xml and phpunit.xml files
  • Changed the configuration of phpcs and php_cs
  • Upgraded phpunit to the latest version and improved its config file
  • Updated to http-interop/http-middleware#0.5
0.2.0

Changed

  • Renamed attribute() to handlerAttribute()

Fixed

  • Improved docs and examples in README
0.1.0

First version

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.
besmartand-pro/php-quality-config
sentix/ai-chatbot
terminal42/code-quality-tools
codifyo/ts-generator-bundle
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity