sockeon / sockeon
Framework-agnostic PHP WebSocket and HTTP server library with attribute-based routing and support for namespaces and rooms.
v3.0.0
2026-07-16 09:52 UTC
Requires
- php: ^8.3
- ext-openssl: *
- ext-sockets: *
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^3.0
- phpstan/phpstan: ^1.10
Suggests
- ext-openswoole: Required for engine=swoole high-concurrency mode
- ext-redis: Required for scale.publisher=redis or scale.registry=redis multi-node mode
README
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
Install via Composer:
composer require sockeon/sockeon
Requirements
- PHP 8.3 or higher
- ext-sockets
- ext-openssl
- ext-redis
- ext-openswoole
Documentation
For complete documentation, visit https://sockeon.github.io
Security Vulnerabilities
If you discover a security vulnerability, please email xentixar@gmail.com.
License
Sockeon is open-sourced software licensed under the MIT license.