I am trying to install Yii2 alpha. When I run the following command after downloading composer and adding
"minimum-stability": "dev"
to composer.json.
$ php composer.phar require yiisoft/yii2-framework "*"
I get the following error.
Problem 1 - The requested package minimum-stability could not be found in any version, there may be a typo in the package name.
Problem 2 - The requested package yiisoft/yii2-composer could not be found in any version, there may be a typo in the package name.
Problem 3 - The requested package yiisoft/yii2-framework could not be found in any version, there may be a typo in the package name.
Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion for more details.
Read http://getcomposer.org/doc/articles/troubleshooting.md for further common problems.
Please help me.
start with
php composer.phar init
and set Minimum Stability[] to dev
then
php composer.phar require yiisoft/yii2 "*"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With