PHPackages                             jie-anthony/laravel-octane-workerman - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. jie-anthony/laravel-octane-workerman

AbandonedArchivedLibrary[HTTP &amp; Networking](/categories/http)

jie-anthony/laravel-octane-workerman
====================================

Start the laravel project through gatewayworker to make the development of laravel in the Internet of Things more convenient. Fetch and communicate with different gateways via API.

v3.0.5(3y ago)889610[1 issues](https://github.com/JieAnthony/laravel-octane-workerman/issues)MITPHPPHP ^8.0

Since Feb 14Pushed 3y ago4 watchersCompare

[ Source](https://github.com/JieAnthony/laravel-octane-workerman)[ Packagist](https://packagist.org/packages/jie-anthony/laravel-octane-workerman)[ Docs](https://laravel-workerman.iwnweb.com)[ RSS](/packages/jie-anthony-laravel-octane-workerman/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (15)Used By (0)

Laravel Octane Workerman
------------------------

[](#laravel-octane-workerman)

[![Latest Stable Version](https://camo.githubusercontent.com/c1ca3cf8c9f0230fe5194220df9f0a8a5870c20cc93a1231b41f00d4ff1ebd64/687474703a2f2f706f7365722e707567782e6f72672f6a69652d616e74686f6e792f6c61726176656c2d6f6374616e652d776f726b65726d616e2f76)](https://packagist.org/packages/jie-anthony/laravel-octane-workerman) [![Total Downloads](https://camo.githubusercontent.com/18173a06a41643c2e414ad38e7cadd4c27faf24af9d7256f1f2dcef9bb5088f9/687474703a2f2f706f7365722e707567782e6f72672f6a69652d616e74686f6e792f6c61726176656c2d6f6374616e652d776f726b65726d616e2f646f776e6c6f616473)](https://packagist.org/packages/jie-anthony/laravel-octane-workerman) [![Latest Unstable Version](https://camo.githubusercontent.com/55042e85af408a435f187af6c91959b25a8572bfa92b7321238e1490eea8769c/687474703a2f2f706f7365722e707567782e6f72672f6a69652d616e74686f6e792f6c61726176656c2d6f6374616e652d776f726b65726d616e2f762f756e737461626c65)](https://packagist.org/packages/jie-anthony/laravel-octane-workerman) [![License](https://camo.githubusercontent.com/25445b9e5e2e64b4a3c4caa7a384d62e9ba1a9670a326af59595943805b4d26e/687474703a2f2f706f7365722e707567782e6f72672f6a69652d616e74686f6e792f6c61726176656c2d6f6374616e652d776f726b65726d616e2f6c6963656e7365)](https://packagist.org/packages/jie-anthony/laravel-octane-workerman) [![PHP Version Require](https://camo.githubusercontent.com/106c338067558a4e561d8972bf9d7c1f636905a836b0eb0162c7b56c48893e4d/687474703a2f2f706f7365722e707567782e6f72672f6a69652d616e74686f6e792f6c61726176656c2d6f6374616e652d776f726b65726d616e2f726571756972652f706870)](https://packagist.org/packages/jie-anthony/laravel-octane-workerman)

Discussions
-----------

[](#discussions)

访问地址

Todos
-----

[](#todos)

- Support Workerman v5
- add make Events command
- add make Socket Command
- add make CustomProcess command
- add global setRegisterAddress of API method

Screenshot
----------

[](#screenshot)

Start the laravel project through `gatewayworker` to make the development of laravel in the Internet of Things more convenient. Fetch and communicate with different gateways via API.

 **See the Websocket Gateway and API signal communication `Screenshot`**[![image](https://user-images.githubusercontent.com/10336437/160743947-80837068-5ca6-4ee7-a560-d108878fedbd.png)](https://user-images.githubusercontent.com/10336437/160743947-80837068-5ca6-4ee7-a560-d108878fedbd.png)

[![image](https://user-images.githubusercontent.com/10336437/160744007-8d0c4af3-487a-41a8-8f9c-bb7bcf4ad118.png)](https://user-images.githubusercontent.com/10336437/160744007-8d0c4af3-487a-41a8-8f9c-bb7bcf4ad118.png)

[![image](https://user-images.githubusercontent.com/10336437/160744127-979c1531-858e-4869-9ccf-a3b02e582091.png)](https://user-images.githubusercontent.com/10336437/160744127-979c1531-858e-4869-9ccf-a3b02e582091.png)

[![image](https://user-images.githubusercontent.com/10336437/160744093-f6c4020a-fbb9-4bf7-a420-0078f354c53c.png)](https://user-images.githubusercontent.com/10336437/160744093-f6c4020a-fbb9-4bf7-a420-0078f354c53c.png)

[![image](https://user-images.githubusercontent.com/10336437/161367556-01f4cdb5-c51f-4afa-9875-63ca09d83dd7.jpg)](https://user-images.githubusercontent.com/10336437/161367556-01f4cdb5-c51f-4afa-9875-63ca09d83dd7.jpg)

Installing
----------

[](#installing)

```
$ composer config repositories.laravel-octane-workerman vcs https://github.com/mouyong/laravel-octane-workerman

# support workerman:gateway and workerman:http command install from https://github.com/mouyong/laravel-octane-workerman
$ composer require jie-anthony/laravel-octane-workerman:dev-master -vvv

# just support octane:workerman command, install from https://github.com/JieAnthony/laravel-octane-workerman
$ composer require jie-anthony/laravel-octane-workerman -vvv
```

Configuration
-------------

[](#configuration)

```
php artisan vendor:publish --provider="Laravel\Octane\OctaneServiceProvider"
php artisan vendor:publish --provider="JieAnthony\LaravelOctaneWorkerman\WorkermanGatewayWorkerServiceProvider"
```

configuration edit in `config/workerman.php`

Command parameter
-----------------

[](#command-parameter)

optiondefaulthost0.0.0.0port8000max-requests10000modestartwatchmode options : ( start / daemon / stop )

Useage
------

[](#useage)

```
php artisan worker start
php artisan worker daemon
php artisan worker reload
php artisan worker stop
php artisan worker status -d

php artisan make:sockets Sockets
php artisan make:events Events
php artisan make:process CustomProcess
```

### webman plugin useage

[](#webman-plugin-useage)

- [webman plugin](webman_plugin_require_example/README.md)

Documentation
-------------

[](#documentation)

- [Workerman](https://www.workerman.net/doc/workerman/)

websockets
----------

[](#websockets)

The tcp `ddos-proxy-http` address

`ws://127.0.0.1:7000/ws`

```
location /ws {
    # the websocket address with http protocol
    proxy_pass http://127.0.0.1:7200;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection 'Upgrade';
}

```

test connection to websocket

```
var ws = new WebSocket('ws://127.0.0.1:7000/ws')
ws.onmessage = function (data) {
    console.log("server response ws data: " + data)
}

ws.send('send message test from client')

```

### Thanks

[](#thanks)

- [Workerman](https://github.com/walkor/Workerman)
- [Laravel](https://github.com/laravel/laravel)
- [Octane](https://github.com/laravel/octane)
- [laravel-octane-workerman](https://github.com/JieAnthony/laravel-octane-workerman)

Contact
-------

[](#contact)

Join QQ Group [![laravel-octane-gatewayworker](images/group.png "laravel-octane-gatewayworker") 650057913](https://qm.qq.com/cgi-bin/qm/qr?k=gGezeVnF0yXZjkg_cmBjXojE__v38NbU&jump_from=webapi)

[![laravel-octane-gatewayworker 群聊二维码](images/laravel-octane-gatewayworker group qrcode.png)]()

License
-------

[](#license)

MIT

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 88.1% 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 ~15 days

Recently: every ~5 days

Total

14

Last Release

1349d ago

Major Versions

v1.0.1 → v2.0.02022-06-20

v2.0.5 → v3.0.02022-08-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/b37a4e4a059db2044bd4bc4336035e1d58fc4771d599b25bde0772e4a711f301?d=identicon)[mouyong](/maintainers/mouyong)

![](https://www.gravatar.com/avatar/40476bcce94763c126217353b9e1fe3f3af3c723fc88bbfe6e7a91bcaab14dae?d=identicon)[Anthony199509](/maintainers/Anthony199509)

---

Top Contributors

[![mouyong](https://avatars.githubusercontent.com/u/10336437?v=4)](https://github.com/mouyong "mouyong (177 commits)")[![JieAnthony](https://avatars.githubusercontent.com/u/38497992?v=4)](https://github.com/JieAnthony "JieAnthony (23 commits)")[![laradocs](https://avatars.githubusercontent.com/u/49741756?v=4)](https://github.com/laradocs "laradocs (1 commits)")

---

Tags

laraveloctaneworkermanwebmanlaravel-octane-workerman

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jie-anthony-laravel-octane-workerman/health.svg)

```
[![Health](https://phpackages.com/badges/jie-anthony-laravel-octane-workerman/health.svg)](https://phpackages.com/packages/jie-anthony-laravel-octane-workerman)
```

###  Alternatives

[spiral/roadrunner-laravel

Laravel integration for RoadRunner with support for HTTP, Jobs, gRPC, and Temporal plugins - going beyond Octane's capabilities

491320.3k3](/packages/spiral-roadrunner-laravel)[roadrunner-php/laravel-bridge

Laravel integration for RoadRunner with support for HTTP, Jobs, gRPC, and Temporal plugins - going beyond Octane's capabilities

49143.2k1](/packages/roadrunner-php-laravel-bridge)[workerman/mqtt

22450.3k12](/packages/workerman-mqtt)[palanik/lumen-cors

Cross-origin resource sharing (CORS) middleware for Lumen micro-framework.

101237.4k](/packages/palanik-lumen-cors)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[chubbyphp/chubbyphp-workerman-request-handler

A request handler adapter for workerman, using PSR-7, PSR-15 and PSR-17.

1311.5k](/packages/chubbyphp-chubbyphp-workerman-request-handler)

PHPackages © 2026

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