I'm trying to install the following composer package:
composer require cr/hashcli
it is a package that I did. But when I try to install it I get the following error:
[InvalidArgumentException] Could not find package cr/hashcli at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
My composer.json is the following:
{
"name": "cr/hashcli",
"description": "HashCLI - PHP CLI Tool For hashing",
"type": "library",
"keywords": ["hash", "cli"],
"license": "MIT",
"require": {
"php": ">=5.5"
},
"require-dev": {
"phpunit/phpunit": "^5.7"
},
"bin":[
"src/hashCLI"
],
"autoload": {
"classmap": [
"src/"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
}
}
Any idea on why this is happening and how can I solve this problem?
There is no stable version of this package. Use
Edit: nowadays you might check dev-main instead of dev-master.