PHP code example of renjiangfeng / rabbitmq-monitor
1. Go to this page and download the library: Download renjiangfeng/rabbitmq-monitor library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
renjiangfeng / rabbitmq-monitor example snippets
RUN pecl install -o -f ev redis; \
rm -rf /tmp/pear \
&& docker-php-ext-enable redis \
&& docker-php-ext-enable ev
# amqp
RUN apt-get update --allow-releaseinfo-change -y && apt-get install -y librabbitmq-dev
RUN pecl install amqp && \
echo "extension=amqp.so" > /usr/local/etc/php/conf.d/amqp.ini
# swoole
RUN pecl install swoole && \
echo "extension=swoole.so" > /usr/local/etc/php/conf.d/swoole.ini