PHPackages                             okstuff/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. okstuff/phpnsq

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

okstuff/phpnsq
==============

PHP Client for nsq

3.1(6y ago)4011.3k17MITPHP

Since Jul 21Pushed 4y ago4 watchersCompare

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

READMEChangelog (7)Dependencies (4)Versions (9)Used By (0)

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

```
