spiral / nyholm-bridge
Spiral Framework: Nyholm PSR-7/PSR-17 bridge
Installs: 11 731
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Requires
- php: >=7.2
- nyholm/psr7: ^1.1
- spiral/framework: ^2.0
- spiral/http: ^1.0
Requires (Dev)
- mockery/mockery: ^1.1
- phpunit/phpunit: ~7.0
- spiral/code-style: ^1.0
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, ]; }
Make sure to remove default
Spiral\Bootloader\Http\DiactorosBootloader
.