I canot install YII
I am new to Yii and I try to create an application, but I have not had the luck to achieve the installation of the Windows version with XAMPP (do not condemn me to follow the installation instructions because I already did it), with PHP 7.2.0.
In a thousand pages on the Internet there are different ways to install Yii and I imagine that they vary depending on the version.
To leave doubts I will describe step by step and the results I have had so far.
A. install composer
change in the terminal to the directory \ xampp \ htdocs
Execute the following script in the terminal.
php composer.phar create-project yiisoft / yii2-app-basic basic
Up to this point, everything worked without problems, however, when executing the script:
php yii serve
send me the message “Could not open the input file: yii”
Prbe changing the port with "php yii serve --port = 8888
but the message continues.
I appreciate your support to solve this silly problem that has stuck with me in more than a month.