R
R
Rustam Akimov2018-02-18 16:09:01
Yii
Rustam Akimov, 2018-02-18 16:09:01

How to install yii2?

I use openserver, I put composer globally.
After installing the composer, I install fxp/composer-asset-plugin and then I create a yii2 project, and so, during installation, vendor is not loaded, all that is in the vendor folder is asset-plugin and autoload. Can you explain why vendor is not loading. I
install it like this:

cd modules/php/PHP-7-x64/
php -r "readfile('https://getcomposer.org/installer');" | php
echo @php "%~dp0composer.phar" %*>composer.bat
cd domains/localhost
composer global require "fxp/composer-asset-plugin"
composer create-project --prefer-dist yiisoft/yii2-app-basic ./

As far as I understand the problem is in composer.json, dependencies fly off

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question