Download the PHP package pupilcp/rabbitmq-warning without Composer

On this page you can find all versions of the php package pupilcp/rabbitmq-warning. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package rabbitmq-warning

PHP版本 - rabbitmq-warning

简介

rabbitmq-warning使用PHP实现,配合定时计划任务,对Rabbitmq服务监控预警

功能实现

  1. rabbitmq服务连接是否正常
  2. rabbitmq队列是否存在消息积压
  3. 推送数据给rabbitmq队列的速度(暂未实现)

特点

  1. 使用swoole process派生子进程,对rabbitmq服务和队列的消息长度进行监控
  2. 使用redis对队列消息积压的次数进行记录
  3. 当服务需要告警,可使用钉钉/邮件/短信方式预警(目前只实现了钉钉通知)。
  4. 可以单独作为服务使用,也可以与PHP框架无缝结合。

设计模型

安装

环境依赖:

  1. php >= 7.0
  2. swoole扩展(版本无要求)
  3. redis扩展 >= 2.6
  4. amqp扩展(操作rabbitmq)
独立安装:
接入项目:

使用

复制根目录下的config.demo.php,并重命名为:config.php,修改配置文件里的参数。 主要配置说明:

启动

由于rabbitmq-warning不是常驻进程,需使用定时计划任务配合,例: * php /PATH/server start (每分钟执行一次)

支持

swoole

其它

如有疑问,请邮件联系:[email protected]


All versions of rabbitmq-warning with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
ext-swoole Version *
ext-redis Version >=2.6
ext-amqp Version *
enqueue/amqp-ext Version ^0.8
cheprasov/php-redis-client Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pupilcp/rabbitmq-warning contains the following files

Loading the files please wait ....