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.

v2.4.2(5mo ago)281.6k↑200%1[9 issues](https://github.com/sockeon/sockeon/issues)2MITPHPPHP &gt;=8.1CI failing

Since May 28Pushed 2mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (16)Used By (2)

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.1 or higher
- ext-sockets
- ext-openssl

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

46

—

FairBetter than 92% of packages

Maintenance74

Regular maintenance activity

Popularity30

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

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

Recently: every ~4 days

Total

14

Last Release

166d ago

Major Versions

v1.2.0 → v2.0.02025-08-09

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

2.x-devPHP &gt;=8.1

### 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 (154 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.0k](/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)

171.4k1](/packages/openapi-openapi-sdk)[dragon-code/laravel-http-logger

Logging incoming HTTP requests

319.8k3](/packages/dragon-code-laravel-http-logger)[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.3k2](/packages/josantonius-url)

PHPackages © 2026

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