PHPackages                             lxyempire/nsq - 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. lxyempire/nsq

ActiveLibrary

lxyempire/nsq
=============

1.0.0(3y ago)05MITPHPPHP &gt;=8.0

Since Jan 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lxyempire/nsq)[ Packagist](https://packagist.org/packages/lxyempire/nsq)[ RSS](/packages/lxyempire-nsq/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Laravel Nsq Client
------------------

[](#laravel-nsq-client)

NSQ client for laravel

Requirements
------------

[](#requirements)

DependencyRequirement[PHP](https://secure.php.net/manual/en/install.php)`>= 8.0`[Swoole](https://www.swoole.co.uk/)`The Newer The Better` `No longer support PHP5 since 2.0.12`Installation
------------

[](#installation)

```
pecl install swoole

```

```
composer require lxy/nsq

```

Usage
-----

[](#usage)

#### Set env

[](#set-env)

```
NSQSD_URL=127.0.0.1:4150
NSQLOOKUP_URL=127.0.0.1:4161

# If it is multiple, please separate them with ","
NSQSD_URL=127.0.0.1:4150,127.0.0.1:4151

```

#### Create Job

[](#create-job)

```
php artisan make:job NsqTestJob

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1213d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d5b499fe9cfb89e0611edc08395633bff6b1468043ea6b59bc9b5cf899c2ece?d=identicon)[lxyempire](/maintainers/lxyempire)

---

Top Contributors

[![lxyempire](https://avatars.githubusercontent.com/u/96515854?v=4)](https://github.com/lxyempire "lxyempire (4 commits)")

### Embed Badge

![Health badge](/badges/lxyempire-nsq/health.svg)

```
[![Health](https://phpackages.com/badges/lxyempire-nsq/health.svg)](https://phpackages.com/packages/lxyempire-nsq)
```

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.2k84.2M224](/packages/laravel-horizon)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k49.4M479](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[spatie/laravel-ray

Easily debug Laravel apps

31538.4M2.8k](/packages/spatie-laravel-ray)[laravel/pennant

A simple, lightweight library for managing feature flags.

57311.1M53](/packages/laravel-pennant)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
