babdev/websocket-server
PHP library to create a WebSocket server
Maintainers
Fund package maintenance!
Requires
- php: 8.4.* || 8.5.*
- guzzlehttp/psr7: ^2.4
- psr/http-message: ^1.0 || ^2.0
- ratchet/rfc6455: ^0.4
- react/event-loop: ^1.5
- react/socket: ^1.16
- symfony/deprecation-contracts: ^2.5 || ^3.0
- symfony/http-foundation: ^7.4 || ^8.0
- symfony/routing: ^7.4 || ^8.0
Requires (Dev)
- ext-session: *
- ext-sockets: *
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan: 2.2.1
- phpstan/phpstan-phpunit: 2.0.16
- phpunit/phpunit: 12.5.28
- psr/container: ^1.0 || ^2.0
- psr/event-dispatcher: ^1.0
- rector/rector: 2.4.5
- symfony/security-core: ^7.4 || ^8.0
Suggests
None
Provides
None
Conflicts
- psr/container: >=3.0
- psr/event-dispatcher: >=2.0
Replaces
None
MIT 9c5a64f92760cd6a9fc506f0ed9526bc704a634b
This package is auto-updated.
Last update: 2026-06-19 13:06:52 UTC
README
👁 Latest Stable Version
👁 Latest Unstable Version
👁 Total Downloads
👁 License
👁 Run Tests
The PHP WebSocket Server package is a library built on top of ReactPHP to run a WebSocket server.
Documentation
Please see the BabDev website for detailed information on how to use this package.
Security
If you believe you have discovered a security issue with this package, please email michael.babker@gmail.com with information about the issue. Do NOT use the public issue tracker for security issues.
Acknowledgements
This package is based heavily on the design of Ratchet.
License
Pagerfanta is licensed under the MIT License. See the LICENSE file for full details.
