Closed joaotnlima closed 11 years ago
add "minimum-stability: rc" to your composer.json :).
nop.. same error.
This is my composer.json:
{
"minimum-stability": "rc",
"require": {
"zendframework/zendframework": "2.1.*",
"slm/mail": "1.*"
}
}
{ "minimum-stability": "rc", "require": { "php": ">=5.3.3", "zendframework/zendframework": ">2.2.0rc1", "slm/mail": ">=1.*" } }
It really does not work ? Oo that's strange. Did you try removing the >= ?
Envoyé de mon iPhone
Le 20 mai 2013 à 13:30, João Costa notifications@github.com a écrit :
{ "minimum-stability": "rc", "require": { "php": ">=5.3.3", "zendframework/zendframework": ">2.2.0rc1", "slm/mail": ">=1.*" } }
— Reply to this email directly or view it on GitHub.
Ha yeah that's normal. When using >= I suppose you must have a specific version like 1.0.2. For star notation just do "slm/mail": "1.*"
Envoyé de mon iPhone
Le 20 mai 2013 à 13:30, João Costa notifications@github.com a écrit :
{ "minimum-stability": "rc", "require": { "php": ">=5.3.3", "zendframework/zendframework": ">2.2.0rc1", "slm/mail": ">=1.*" } }
— Reply to this email directly or view it on GitHub.
solved only doing "slm/mail": ">=1@dev".
Sorry if I'm doing anything wrong but I just copied your configs to my repo and it gave me an error :
[UnexpectedValueException]
Could not parse version constraint >=1.: Invalid version string "1."
I removed the 1.* but error still persisted.
Can you tell me what am I doing wrong? thanks