No index.php

I’ve installed Yii 2 advanced with composer and, to my surprise, there’s no “index.php” file in frontend/web folder. However, there are “assets” and “css” folders, and favicon.ico.

What should I do?

See the instalation guide in the Preparing application.

Inside your project folder, execute the command in terminal:

/path/to/php-bin/php /path/to/yii-application/init

It worked. Thanks!