Closed muharem closed 9 years ago
It seems that these files were added after tagging (v1.0.0) and you should specify dev-master instead *
Just now, I had same problem, this helped, even thou composer vomited:
vagrant@vagrant-ubuntu-trusty-64:/vagrant/app$ sudo composer require webtoucher/yii2-amqp "dev-master"
Deprecation Notice: The Composer\Package\LinkConstraint\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead. in phar:///usr/local/bin/composer/src/Composer/Package/LinkConstraint/MultiConstraint.php:17
Deprecation Notice: The Composer\Package\LinkConstraint\LinkConstraintInterface interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface instead. in phar:///usr/local/bin/composer/src/Composer/Package/LinkConstraint/LinkConstraintInterface.php:17
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
- Removing webtoucher/yii2-amqp (v1.0.0)
- Installing webtoucher/yii2-amqp (dev-master b25a705)
Cloning b25a7052f7c56849a9430783ac2015d29f759af3
Failed to download webtoucher/yii2-amqp from source: Failed to clone git@github.com:webtoucher/yii2-amqp.git, git was not found, check that it is installed and in your PATH env.
sh: 1: git: not found
Now trying to download from dist
- Installing webtoucher/yii2-amqp (dev-master b25a705)
Downloading: 100%
Writing lock file
Generating autoload files
after installation by using composer require webtoucher/yii2-amqp "*", the package has no classes webtoucher\amqp\controllers\AmqpListenerController and webtoucher\amqp\components\AmqpInterpreter