softonic/laravel-amqp-consumer

3.1.0 2022-10-27 16:47 UTC

This package is auto-updated.

Last update: 2024-08-27 20:39:45 UTC


README

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads Average time to resolve an issue Percentage of issues still open

Laravel 包,用于处理 AMQP 消息的消费。

安装

通过 composer

composer require softonic/laravel-amqp-consumer

重要 直到 队列多绑定 PR 被包含在官方仓库中,您需要将此片段添加到您的 composer.json 中

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/softonic/laravel-amqp.git"
    }
  ],
  "require": {
      "bschmitt/laravel-amqp": "2.0.7.1"
  }
}

文档

可以配置基本的 AMQP 信息,您可以在 vendor/softonic/laravel-amqp-consumer/config/amqp-consumer.php 中查看。

测试

softonic/laravel-amqp-consumer 有一个 PHPUnit 测试套件和一个使用 PHP CS Fixer 的编码风格合规性测试套件。

要运行测试,请在项目文件夹中运行以下命令。

$ docker-compose run test

许可证

Apache 2.0 许可证。有关更多信息,请参阅 LICENSE