PHPackages                             merkeleon/phpnsq - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. merkeleon/phpnsq

ActiveLibrary[Queues &amp; Workers](/categories/queues)

merkeleon/phpnsq
================

PHP Client for nsq

v1.2.2(3y ago)03.3k11MITPHP

Since Apr 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Merkeleon/phpnsq)[ Packagist](https://packagist.org/packages/merkeleon/phpnsq)[ Docs](http://github.com/stackerzzq/phpnsq)[ RSS](/packages/merkeleon-phpnsq/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (1)

phpnsq
======

[](#phpnsq)

[![Build Status](https://camo.githubusercontent.com/29b85c3f0e4c9c3b2f6cd339ece8c37c12e00be704cb4bef83d5d0829d657224/68747470733a2f2f7472617669732d63692e6f72672f6f6b73747566662f7068706e73712e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/okstuff/phpnsq)

Install
-------

[](#install)

```
composer require okstuff/phpnsq
```

Subscribe one topic and channel
-------------------------------

[](#subscribe-one-topic-and-channel)

```
php examples/console phpnsq:sub
```

Notice
------

[](#notice)

Before try this, you should install [nsq](http://nsq.io) by yourself.

Examples
--------

[](#examples)

1. Publish

```
