spiral / nyholm-bridge
Spiral Framework: Nyholm PSR-7/PSR-17 bridge
v1.3.0
2022-09-19 07:50 UTC
Requires
- php: >=8.1
- nyholm/psr7: ^1.4
- spiral/boot: ^3.0
- spiral/http: ^3.0
Requires (Dev)
- phpunit/phpunit: ^9.5.20
- vimeo/psalm: >=4.4
README
Installation
composer require spiral/nyholm-bridge
To enable extension modify your application by adding Spiral\Nyholm\Bootloader\NyholmBootloader:
class App extends Kernel { /* * List of components and extensions to be automatically registered * within system container on application start. */ protected const LOAD = [ // ... Spiral\Nyholm\Bootloader\NyholmBootloader::class, ]; }
Note Make sure to remove default
Spiral\Bootloader\Http\DiactorosBootloader.
License:
MIT License (MIT). Please see LICENSE for more information. Maintained by Spiral Scout.