NSQ client for laravel
Dependency | Requirement |
---|---|
PHP | >= 8.0 |
Swoole | The Newer The Better No longer support PHP5 since 2.0.12 |
pecl install swoole
composer require lxy/nsq
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
php artisan make:job NsqTestJob