Download the PHP package peachpear/pear-consumer without Composer
On this page you can find all versions of the php package peachpear/pear-consumer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package pear-consumer
pear-consumer
pear让你更畅快地编程。pear-consumer是以pear-api为基础,增加消费者必要服务,重整为支持队列消费服务的项目。 支持PHP、RabbitMQ、MySQL、Mail、Redis、Kafka、WebSocket。
前提准备
必要服务支持:php-cli、Redis、Kafka、RabbitMQ、MySQL
可选服务支持:Elasticsearch、Kibana、Jenkins
使用说明
运行示例
特别说明
其实,这个项目中最核心的就是AMQP连接RabbitMQ那一段代码,完全可以不使用框架。 之所以借用Yii2框架,就是为了方便使用日志功能,日志这一块可以注意下。
目录结构
编码规范
All versions of pear-consumer with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
yiisoft/yii2 Version ~2.0.15
nmred/kafka-php Version 0.2.*
peachpear/pear-leaf Version 1.0.*
yiisoft/yii2 Version ~2.0.15
nmred/kafka-php Version 0.2.*
peachpear/pear-leaf Version 1.0.*
The package peachpear/pear-consumer contains the following files
Loading the files please wait ....