i am using yii 1.0 in all my project. today i got news that yii 2.0 alpha version is released so i am trying to install it in my window 8 system. till now i have never setup yii 2.0 application in my system.
so i started installing it Using this official link. but now i stuck in problem..
i have install composer in system and run it and it's working..
and i am trying execute this command "C:\\xampp\\yii>composer create-project c:/xampp/htdocs/basic/yiinew"
but getting error Could not parse version constraint
..
now i don't know how to setup application using composer.. i have searched in google "How to install yii 2.0 in window" but i didn't get any usefull link..
can anyone suggest me now what all are step i have to follow to install it?
i am using php 5.4
Thanks in advance
As Ororuk said, you should simply try :
composer create-project yiisoft/yii2-app-basic c:\xampp\htdocs\basic\yiinew 2.0.0-alpha
This will install package yiisoft/yii2-app-basic
( 2.0.0-alpha
version) in folder c:/xampp/htdocs/basic/yiinew
(composer will create this folder if necessary).
EDIT : You should access this app using http://localhost/basic/yiinew/web
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.