I want to install yii2
using Composer
.
- Created a folder
- Made in the folder
Composer init
- Then
Composer install
- Then
composer global require "fxp/composer-asset-plugin:^1.2.0"
- Now I want to download Yii to a folder so that the myProject hierarchy / yii files
- With cd I go out to the shared folder, with ls I see the folder myProject
- I do composer create-project --prefer-dist yiisoft / yii2-app-basic myProject
But here I get an error Project directory myProject/ is not empty
.
How to solve the problem?