Install exactly one of the following PSR-7/PSR-17 HTTP message implementations.
Method 1: Using Composer (recommended)
Install the extension.
composer require yii2-extensions/psr-bridge:^0.3Add to your composer.json.
{
"require": {
"yii2-extensions/psr-bridge": "^0.3"
}
}Then run.
composer updateOnce the installation is complete.