spiral/nyholm-bridge
Spiral Framework bridge to Nyholm PSR-7/PSR-17 implementations. Install via Composer and enable NyholmBootloader to swap out the default Diactoros HTTP bootloader for Nyholm factories and message objects.
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.
MIT License (MIT). Please see LICENSE for more information. Maintained by Spiral Scout.
How can I help you explore Laravel packages today?