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

Http Server Middleware Laravel Package

psr/http-server-middleware

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.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

Architecture fit is poor as Laravel's native middleware system (using handle(Request $request, Closure $next)) fundamentally differs from PSR-15's process(ServerRequestInterface $request, RequestHandlerInterface $handler) pattern. The package provides only an interface with no Laravel-specific implementation, creating structural misalignment. Integration feasibility is low without third-party bridges (e.g., laravel-psr15-bridge), which are unofficial and not maintained by Laravel core. Technical risks include potential breaking changes in Laravel's HTTP stack, performance overhead from adapter layers, and compatibility issues with future Laravel versions. Key questions: Does the project require integration with external PSR-15 middleware? Is there a proven, maintained bridge for Laravel? What is the business case for adopting PSR-15 over Laravel's native middleware?

Integration Approach

Stack fit is minimal—Laravel does not natively support PSR-15 middleware

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
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
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