swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 788 forks source link

amqp 组件无法 composer 安装 #1376

Open FirstStarter opened 3 years ago

FirstStarter commented 3 years ago

执行: composer require swoft/amqp

报错:

Could not find a matching version of package swoft/amqp. Check the package spelling, your version constraint and that the package is available in a stability
which matches your minimum-stability (stable).

https://packagist.org/ 官网检索 amqp 也查询不到,是不是因为官方没有同步到packagist 导致无法通过composer安装?

inhere commented 3 years ago

这几天找时间发一下,你可以先这样配置:

{
    "repositories": {
        "swoft-amqp": {
            "type": "git",
            "url": "https://github.com/swoft-cloud/swoft-amqp.git"
        }
    }
}
FirstStarter commented 3 years ago

这几天找时间发一下,你可以先这样配置:

{
  "repositories": {
      "swoft-amqp": {
          "type": "git",
              "url": "https://github.com/swoft-cloud/swoft-amqp.git"
      }
  }
}

谢谢