Webador / SlmMail

Send mail from Laminas or Mezzio using external mail services.
Other
106 stars 49 forks source link

Cannot install project via composer #36

Closed joaotnlima closed 11 years ago

joaotnlima commented 11 years ago

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

bakura10 commented 11 years ago

add "minimum-stability: rc" to your composer.json :).

joaotnlima commented 11 years ago

nop.. same error.

bakura10 commented 11 years ago

This is my composer.json:

{
    "minimum-stability": "rc",
    "require": {
        "zendframework/zendframework": "2.1.*",
        "slm/mail": "1.*"
    }
}
joaotnlima commented 11 years ago

{ "minimum-stability": "rc", "require": { "php": ">=5.3.3", "zendframework/zendframework": ">2.2.0rc1", "slm/mail": ">=1.*" } }

bakura10 commented 11 years ago

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.

bakura10 commented 11 years ago

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.

joaotnlima commented 11 years ago

solved only doing "slm/mail": ">=1@dev".