Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PECL AMQP vs. php-amqp

I'm about to implement a system based on PHP that uses RabbitMQ. I can tell that there are 2 mature libraries out there: PECL AMQP and php-amqp.

I will be using PHP for both the client as well as the worker.

Does anybody have any practical experience with these 2 libraries? Is one better than the other for certain things? Are there any limitations when using any of these? Which one is more popular?

like image 492
phpPhil Avatar asked Oct 20 '22 16:10

phpPhil


1 Answers

Original answer (before question edit):

PECL AMQP is documentation (pretty outdated, btw) for php-amqp.

P.S.: there are amqp client library implementation in pure php - php-amqplib which differs from PHP C extension php-amqp in some parts, but which is best for you - is up to you and your needs.

like image 96
pinepain Avatar answered Nov 03 '22 03:11

pinepain