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

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

pecherskiy-v/phpnsq
===================

PHP Client for nsq

4.0.0(3y ago)02.1kMITPHPPHP 8.\*

Since Jan 7Pushed 3y agoCompare

[ Source](https://github.com/pecherskiy-v/phpnsq)[ Packagist](https://packagist.org/packages/pecherskiy-v/phpnsq)[ Docs](https://github.com/wk30/phpnsq)[ RSS](/packages/pecherskiy-v-phpnsq/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (16)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

```
