spiral/nyholm-bridge

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

v1.3.0 2022-09-19 07:50 UTC

This package is auto-updated.

Last update: 2024-11-20 12:11:11 UTC


README

PHP Version Require Latest Stable Version phpunit psalm Codecov Total Downloads type-coverage psalm-level

Framework Bundle

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.