composer/composer — Issue #84: check environment before installing packages
Author: domnikl
Created: 2011-11-01 20:17:11+00:00
State: open

I have a litte project in which I'm using Doctrine2, so added a composer.json file with the dependency and the URL for the package is https. But I haven't enabled the OpenSSL extension and `php composer.phar install` printed a very long stack trace when all I wanted to see was that the extension isn't enabled. I think it would be useful if there was a check if this extension (or any other needed) is avabilable.
Without SSL enabled, it throws 6 warnings and the actual error message is "could not be saved to vendor/doctrine/common/b8bd3b11382f1cc3594d7b72f52abe00, make sure the directory is writable and you have internet connectivity" which is not very helpful in this case.