Answer the question
In order to leave comments, you need to log in
How to create a yii2 project correctly?
I'm trying to install yii, I use OpenServer as a server.
So I install composer:
cd modules/php/PHP-7.2-x64/
php -r "readfile('https://getcomposer.org/installer');" | php
echo @php "%~dp0composer.phar" %*>composer.bat
cd domains/localost
composer create-project --prefer-dist yiisoft/yii2-app-basic ./
[InvalidArgumentException]
Composer could not find the config file: C:\OpenServer\composer.phar
To initialize a project, please create a composer.json file as described in
the https://getcomposer.org/ "Getting Started" section
Answer the question
In order to leave comments, you need to log in
I use OpenServer as a server.
So I put composer:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question