Skip to content

about-dev/publish_and_consume_rabbitmq_php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Publish and consume message using RabbitMQ and PHP AMQP library

Steps you have to take to use the PHP AMQP extension to publish messages and to consume messages.

  1. Installing

You have to install RabbitMQ Installation and the PHP AMQP library Installation.

  1. Using the demo files (assume we saved the files into a folder named workers)

Browser:

http://localhost/workers/publisher.php

http://localhost/workers/consumer.php

CLI:

/var/www/workers/>>>php publisher.php

/var/www/workers/>>>php consumer.php

About

Steps you have to take to use the PHP AMQP extension to publish messages and to consume messages.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages