PHPackages                             kentczhy/swsocket - 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. kentczhy/swsocket

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

kentczhy/swsocket
=================

easy to set up websocket by swoole

v0.1.3(5y ago)04MITPHPPHP ^7.1

Since Jun 8Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kentczhy/swsocket)[ Packagist](https://packagist.org/packages/kentczhy/swsocket)[ RSS](/packages/kentczhy-swsocket/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

Instantiator
============

[](#instantiator)

This library provides a way of easy to set up websocket.

Installation
------------

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
composer require "kentczhy/swsocket"
```

Usage
-----

[](#usage)

PHP extension Swoole &gt; 4.2.0 needs to be installed

config/app.php

\\Kentczhy\\Swsocket\\Providers\\SwsocketServiceProvider::class

```
# add config swsocket.php and copy html test file

php artisan vendor:publish

# start server

php artisan swoole:server
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

4

Last Release

2170d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16c6dc19e02c0ebcc37f90def3184b627769deb08fff27f9ef37858997d05c31?d=identicon)[kentczhy](/maintainers/kentczhy)

---

Top Contributors

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

---

Tags

websocketswooleswsocket

### Embed Badge

![Health badge](/badges/kentczhy-swsocket/health.svg)

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

###  Alternatives

[hhxsv5/laravel-s

🚀 LaravelS is an out-of-the-box adapter between Laravel/Lumen and Swoole.

3.9k676.0k10](/packages/hhxsv5-laravel-s)[huang-yi/shadowfax

Run Laravel on Swoole.

3511.7k](/packages/huang-yi-shadowfax)[hyperf/websocket-server

A websocket server library for Hyperf.

12488.7k25](/packages/hyperf-websocket-server)

PHPackages © 2026

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