Best PHP client library for accessing RabbitMQ (AMQP)?

dkamins picture dkamins · Dec 10, 2010 · Viewed 23.5k times · Source

There is a list of PHP clients on the RabbitMQ site. I'm asking this question in hopes that people who have used any of these can share their experiences here. E.g.

  • Did you have any trouble installing?
  • Is it stable?
  • Were there any performance issues?
  • How is the documentation / support?

Even if you've just used one of these libraries, please share your experiences.

For reference, here are some of the clients listed:

P.S. I know that "Best ..." is "subjective", but the point of this question is to collect experiences and help people make an informed decision about these AMQP libraries. Please don't knee-jerk close this question just because it has the word "best" in it.

P.P.S. I'm using PHP 5.3 on RHEL 5.

Answer

Pieter picture Pieter · Dec 11, 2010

For reference, PECL AMQP Extension and http://php.net/manual/fa/book.amqp.php are the same thing, one is the package, the other the documentation for the package.

As a maintainer of the official PHP AMQP extension, I am a little biased. Many people use this extension in high volume low latency production environments since it is far faster than one written in native PHP. Furthermore, since I constantly use this at my job, I have to keep it working and up to date.

The drawback to this extension is that it is not available for Windows, yet, because the library on which it depends is currently being ported. There is not ETA for Windows support, but as soon as the dependencies support Windows, it is our goal to port the extension over to Windows as well.