spiral/nyholm-bridge

Spiral Framework: Nyholm PSR-7/PSR-17 bridge

v1.0.2 2019-06-07 10:41 UTC

README

Latest Stable Version Build Status Codecov

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.