I get the following error when attempting the composer "basic" install:
[size="3"][b][InvalidArgumentException]
Could not find package yiisoft/yii2-app-basic with stability stable[/b][/size].
I’m using Mac OS X 10.8.5, PHP version 5.4.32, Apache server on a local machine, composer 2014-09-25 (I know, yesterday).
So I don’t know if the Yii installation is broken or if the basic (stable) Composer install is corrupt.
p.s. I noticed this post on the web from Jordi Boggiano:
https://groups.google.com/forum/#!topic/composer-dev/_g3ASeIFlrc/discussion
Heya,
I want to give a last warning before doing this, because it will most
likely affect many of you:
On Wednesday (in two days) we will switch the default stability inside
composer to be "stable" instead of "dev". This will also mark the
release of alpha4.
What this means is that by default composer will not see packages of
types RC, beta, alpha or dev. There are a few way to overcome this:
- If you require explicitly a version like dev-master, a rule is added
for that package that dev packages are ok.
- If you require a package using "<someconstraint>@<stability>", e.g.
"1.0@beta", this adds a rule for that package. If you want to add a rule
for a dependency of a dependency that is not available, you can just use
"@beta" or "@dev" which adds the rule but without adding an additional
version constraint.
- You can add a rule for all packages at once, by adding this to your
composer.json: "minimum-stability": "dev"
The latter is the current behavior, so if you want to prepare for the
change, adding this to your composer.json will make it "future proof".
However the best thing would be that everyone tags releases (if only
alpha ones), because relying on dev packages is not sustainable.
Please help spread the word.
Cheers
–
Jordi Boggiano
Does this completely break the Composer install command ?
p.s. I also tried to install the basic using --stablility=dev option, but I’m having issues with that as well. I’m opening a separate topic for that.