I know this issue has been discussed quite a few times, but i still don’t seem able to sort out an issue i am facing.
I fillow the instructions on https://www.yiiframework.com/doc/guide/2.0/en/tutorial-yii-integration#using-both-yii2-yii1 however, i probably miss something.
According to the instuctions you fetch yiisoft/yii2 using composer, but there is no mention to initialize / install the project like basic or advanced template, so that you have a complete yii2 structure.
Later on the same text there is a guiedeline
// configuration for Yii 2 application
$yii2Config = require DIR . ‘/…/config/yii2/web.php’;
new yii\web\Application($yii2Config); // Do NOT call run(), yii2 app is only used as service locator
However, since Yii2 hasn’t been initialized, where is config/yii2/web.php supposed to be found?
Any help would be much appreciated