PHPackages                             sockeon/sockeon - 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. sockeon/sockeon

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

sockeon/sockeon
===============

Framework-agnostic PHP WebSocket and HTTP server library with attribute-based routing and support for namespaces and rooms.

v3.0.0(1mo ago)272.0k↑230%13MITPHPPHP ^8.3CI passing

Since May 28Pushed 1mo agoCompare

[ Source](https://github.com/sockeon/sockeon)[ Packagist](https://packagist.org/packages/sockeon/sockeon)[ RSS](/packages/sockeon-sockeon/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (9)Versions (18)Used By (3)

Sockeon
=======

[](#sockeon)

Build real-time applications with PHP. Sockeon is a modern WebSocket and HTTP server library that brings event-driven, bidirectional communication to your PHP projects without external dependencies.

Perfect for chat applications, live dashboards, real-time notifications, collaborative tools, and any application requiring instant data synchronization.

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

[](#installation)

Install via Composer:

```
composer require sockeon/sockeon
```

Requirements
------------

[](#requirements)

- PHP 8.3 or higher
- ext-sockets
- ext-openssl
- ext-redis
- ext-openswoole

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

[](#documentation)

For complete documentation, visit

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability, please email .

License
-------

[](#license)

Sockeon is open-sourced software licensed under the [MIT license](LICENSE).

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance92

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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 ~27 days

Recently: every ~47 days

Total

16

Last Release

33d ago

Major Versions

v1.2.0 → v2.0.02025-08-09

v2.4.2 → v3.0.02026-07-16

PHP version history (3 changes)v1.0.0PHP &gt;=8.0

2.x-devPHP &gt;=8.1

v3.0.0PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/152050438?v=4)[xentixar](/maintainers/xentixar)[@xentixar](https://github.com/xentixar)

---

Top Contributors

[![xentixar](https://avatars.githubusercontent.com/u/152050438?v=4)](https://github.com/xentixar "xentixar (162 commits)")

---

Tags

apihttplaravelphpsocketwebsocketshttpphphttpssymfonylaravelevent-drivenwebsocketSocketrealtimeframework agnostic

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[basement-chat/basement-chat

Add a real-time chat widget to your Laravel application.

4984.1k](/packages/basement-chat-basement-chat)[vinelab/minion

A Simple WAMP (Web Application Messaging Protocol) server and command line tool

1276.5k](/packages/vinelab-minion)[openapi/openapi-sdk

Minimal and agnostic PHP SDK for Openapi® (https://openapi.com)

164.6k1](/packages/openapi-openapi-sdk)[warriorxk/phpwebsockets

A websocket library with support for IPC using socket pairs

1325.6k](/packages/warriorxk-phpwebsockets)[josantonius/url

PHP library to access URL information.

123.4k2](/packages/josantonius-url)

PHPackages © 2026

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