addcnos/laravel-gateway-worker

Gateway-worker for Laravel

1.0.0 2021-07-01 05:20 UTC

This package is auto-updated.

Last update: 2024-10-26 07:06:56 UTC


README

Latest Stable Version Total Downloads GitHub license

Installation

Laravel

composer require addcnos/laravel-gateway-worker

publish

php artisan vendor:publish --provider="Addcnos\GatewayWorker\GatewayWorkerServiceProvider"

Lumen

copy config

cp vendor/addcnos/laravel-gateway-worker/config/gatewayworker.php config

edit bootstrap/app.php, add

$app->register(Addcnos\GatewayWorker\GatewayWorkerServiceProvider::class);
// ...
$app->configure('gatewayworker');

Usage

php artisan gateway-worker:serve [start|stop|restart|status|connections|help]

for help

php artisan gateway-worker:serve --help

Cluster

Cluster

In One

php artisan --register --gateway --businessworker