First, get Composer.phar
-sS https://getcomposer.org/installer | php
Second, install the Composer.asset plug-in
PHP Composer.phar global require "fxp/composer-asset-plugin:~1.0.0"
Iii. Installing YII Basic module
PHP composer.phar create-project yiisoft/yii2-app-basic Basic 2.0.6
Iv. installation of Yii advanced module
PHP Composer.phar create-project yiisoft/yii2-app-advanced Advanced 2.0.6
Note: The functions of the Proc_get and Proc_get_status functions in disable functions are first turned off in the php.ini file
V. Enter the Advanced catalogue
php -r "readfile(‘https://getcomposer.org/installer‘);" | php
Perform this command download Composer.pchar
Vi. Execution of php composer.phar
orders
Vii. Prepare all Plugins
PHP Composer.phar global require "fxp/composer-asset-plugin:1.0.0"
Viii. start our application and create the Yii2test application in the parent directory
PHP composer.phar create-project--prefer-dist--stability=dev yiisoft/yii2-app-advanced.. /yii2test
yii2.0 installation Process