[vagrant@localhost share]$ composer require "yangyifan/upload:v0.2"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation request for yangyifan/upload v0.2 -> satisfiable by yangyifan/upload[v0.2].
[vagrant@localhost share]$ composer require "yangyifan/upload:v0.2" ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.
Problem 1
Installation failed, reverting ./composer.json to its original content.