Trying to install the PEAR package HTTP_Download2 (which does exist) but I'm getting the error "The requested package pear-pear.php.net/http_download2 could not be found in any version, there may be a typo in the package name."
composer.json:
{
"repositories": [
{
"type": "pear",
"url": "http://pear.php.net",
"vendor-alias": "pear"
}
],
"require": {
"aws/aws-sdk-php": "2.*",
"pear/HTTP_Download2": "*"
}
}
This is what I've settled on but I've tried multiple ways I've found on here and continually get the same error. Not sure how apparently some PEAR packages work but this one doesn't?
A few things I've tried: