softonic/laravel-amqp-consumer

Laravel Amqp Consumer

3.1.0 2022-10-27 16:47 UTC

This package is auto-updated.

Last update: 2024-03-27 19:38:16 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 package to handle the consumption of AMQP messages.

Installation

Via composer:

composer require softonic/laravel-amqp-consumer

IMPORTANT Until queue multibinding PR will be included in the official repository, you will need to add this fragment to your composer.json

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

Documentation

It is possible to configure the basic AMQP information, you can check it in vendor/softonic/laravel-amqp-consumer/config/amqp-consumer.php.

Testing

softonic/laravel-amqp-consumer has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer.

To run the tests, run the following command from the project folder.

$ docker-compose run test

License

The Apache 2.0 license. Please see LICENSE for more information.