Hacker News new | ask | show | jobs
by old_sound 4661 days ago
> On the PHP side, I found none of the PHP AMQP libraries to be worth using. They all have compilation problems or bugs or seem to be unmaintained.

I take care of this one https://github.com/videlalvaro/php-amqplib and it's very well maintained and used by many companies in production.

Also is, it's a pure PHP library so there's no need to compile it. It's been installed +72000 times already https://packagist.org/packages/videlalvaro/php-amqplib

1 comments

Oh, that's great to hear. I'm surprised I didn't find that previously. I vaguely remember trying a php-amqplib and having issues with error messages, but your client promises to be strict-compliant so perhaps I was using an ancient version somehow.

For the sole purposes of producing messages, STOMP and a few dozen lines of PHP seems more attractive to me than using the full library (plain text protocol, easy persistent connections, simple retry behaviors, and no surprises). I'll use your library when we add PHP consumers, though, because consumption is harder to get right.

Thanks.