How to connect to CloudAMQP from a PHP app
Switch branches/tags
Nothing to show
Clone or download
Latest commit 15732bb Oct 6, 2017
Failed to load latest commit information.
.gitignore ignore composer.phar Apr 28, 2014
Procfile Updated code example Oct 6, 2017 Update Oct 6, 2017
app.json add Heroku button Aug 5, 2014
composer.json Updated code example Oct 6, 2017
composer.lock Updated code example Oct 6, 2017
index.php Update index.php Oct 6, 2017

Example PHP code for using RabbitMQ

Getting started

  • Clone the repo
  • Install Composer if you don't already have it installed
  • run php composer.phar install
  • set url to CloudAMQP export CLOUDAMQP_URL=amqp://....
  • run php index.php

Deploy to Heroku