PHPackages                             atshike/pwlh - 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. atshike/pwlh

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

atshike/pwlh
============

The Laravel WorkerMan App.

1.0.2(2y ago)06MITHTMLPHP &gt;=8.1

Since Oct 20Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (4)Versions (4)Used By (0)

workerman 聊天室 Websocket + HTLM5+PHP多进程socket
============================================

[](#workerman-聊天室-websocket--htlm5php多进程socket)

### 安装

[](#安装)

```
composer require atshike/pwlh

```

### 生成command

[](#生成command)

```
1.
php artisan make:command WorkerManCommand

2.
global $argv;
$action = $this->argument('action');
if (! in_array($action, ['status', 'start', 'stop', 'restart', 'reload', 'connections'])) {
exit("action invalid! \n");
}
$argv[0] = 'wk';
$argv[1] = $action;
$argv[2] = $this->option('d') ? '-d' : '';

WorkerManService::start();

```

### 配置文件

[](#配置文件)

- config/service.php

```
'worker_man' => [
    'port' => env('WORKER_MAN_PORT', 2346),
    'start_port' => env('WORKER_MAN_START_PORT', 2300),
    'log' => env('WORKER_MAN_LOG', 1),
    'register_service' => env('REGISTER_SERVICE', 'text://0.0.0.0:1236'),
    'register_address' => env('REGISTER_ADDRESS', '127.0.0.1:1236'),
],

```

### 进程守候

[](#进程守候)

- 配置 Supervisor

```
cd /etc/supervisor/conf.d
vim laravel-worker.conf

[program:laravel-worker]
command=/usr/bin/php8.1 /home/crawler/artisan app:workman start
numprocs=1
autostart=true
autorestart=true
user=root

sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl start laravel-worker:*

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Every ~0 days

Total

3

Last Release

932d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2702eaab26f275d280cc88a4a80b2aa67dce6d8462effd713d86c3087cf785d2?d=identicon)[atshike](/maintainers/atshike)

---

Top Contributors

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

---

Tags

laravelworkerman

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/atshike-pwlh/health.svg)

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

###  Alternatives

[workerman/phpsocket.io

A server side alternative implementation of socket.io in PHP based on Workerman

2.3k578.6k16](/packages/workerman-phpsocketio)[mpbarlow/laravel-queue-debouncer

A wrapper job for debouncing other queue jobs.

63714.4k1](/packages/mpbarlow-laravel-queue-debouncer)[convenia/pigeon

3233.0k](/packages/convenia-pigeon)[tochka-developers/queue-promises

Promises for Laravel queue jobs

1912.3k](/packages/tochka-developers-queue-promises)

PHPackages © 2026

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