jkirkby91 / illuminaterequestpsr7adapter
Installs: 130
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
pkg:composer/jkirkby91/illuminaterequestpsr7adapter
Requires
- illuminate/http: 5.4.*
- illuminate/support: 5.4.*
- zendframework/zend-diactoros: ^1.3
Requires (Dev)
- phpunit/phpunit: 4.*
This package is not auto-updated.
Last update: 2021-01-19 06:45:55 UTC
README
###IlluminateRequestPSR7Adapter
The Laravel/Lumen component Illuminate\Http depends on symfony\Http-Kernel which doesn't implement PSR-7 Requests (BOOOO!!!!)
I want to use them cool PSR-7 interoperability middleware libraries to cut down on developing components specifically for lumen.
Since all middleware in laravel/lumen need a illuminate\http\request object here is a simple middleware which when loaded first will convert all subsequent middleware requests to fully PSR-7 compliant objects.