PHPackages                             igusev/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. [HTTP &amp; Networking](/categories/http)
4. /
5. igusev/phpnsq

ActiveLibrary[HTTP &amp; Networking](/categories/http)

igusev/phpnsq
=============

PHP Client for nsq

02.4k2PHP

Since Jan 8Pushed 5y agoCompare

[ Source](https://github.com/iGusev/phpnsq)[ Packagist](https://packagist.org/packages/igusev/phpnsq)[ RSS](/packages/igusev-phpnsq/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)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

```
