This is a php client library for nsq. Requirement [root@vm-centos7 /]# php --ri sockets sockets Sockets Support => enabled Usage composer require andals/php-nsq Demo producer consumer