To install yii using commands in windows, follows below commands in command promp(win+r)
1. php -r "readfile('https://getcomposer.org/installer');" | php
2. php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
3. php composer.phar create-project yiisoft/yii2-app-advanced advanced 2.0.6
Or
php composer.phar create-project yiisoft/yii2-app-basic basic 2.0.6
Login to github and get the token
ec985803ee357557e5ff0bdfb7bda969f13f1629
4. init
1. php -r "readfile('https://getcomposer.org/installer');" | php
2. php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
3. php composer.phar create-project yiisoft/yii2-app-advanced advanced 2.0.6
Or
php composer.phar create-project yiisoft/yii2-app-basic basic 2.0.6
Login to github and get the token
ec985803ee357557e5ff0bdfb7bda969f13f1629
4. init
No comments:
Post a Comment