定制 quarks-tech/protoevent-amqp-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

quarks-tech/protoevent-amqp-php

Composer 安装命令:

composer require quarks-tech/protoevent-amqp-php

包简介

README 文档

README

  1. Install dependencies:

    composer install --ignore-platform-reqs
  2. Builder php docker image: PHP 8.1 with all the required extensions

    make install-builder
  3. Update the demo/config.php file: make sure these credentials match with your local rabbitmq setup

    'rabbitmq' => [
        'host' => getenv('DOCKER_INTERNAL_HOST'),
        'port' => '5672',
        'vhost' => '/',
        'login' => 'guest',
        'password' => 'guest',
    ]
  4. Create rabbitmq exchange example.books.v1

  5. Start the receiver: The receiver will create the example.consumers.v1 queue, bind itself to the BookCreatedEvent, and start listening to events to process them.

    make demo-consume
  6. Publish an event: The BookCreatedEvent will be published on to example.books.v1 exchange

    make demo-publish

统计信息

  • 总下载量: 4.44k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2022-12-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固