centrepatronal / laravel-websockets
An easy to launch a Pusher-compatible WebSockets server for Laravel.
Requires
- php: ^8.0|^8.1|^8.2|^8.3
- clue/block-react: ^1.5
- clue/reactphp-sqlite: ^1.0
- clue/redis-react: ^2.6
- doctrine/dbal: ^4.1.1
- evenement/evenement: ^2.0|^3.0
- facade/ignition-contracts: ^1.0
- illuminate/broadcasting: ^11.0
- illuminate/console: ^11.0
- illuminate/http: ^11.0
- illuminate/queue: ^11.0
- illuminate/routing: ^11.0
- illuminate/support: ^11.0
- jamesctl/ratchet: ^v1.06
- pusher/pusher-php-server: ^6.0|^7.0
- react/mysql: ^0.5
- react/promise: ^2.8
- symfony/http-kernel: ^6.0|^7.0
- symfony/psr-http-message-bridge: ^6.0|^7.0
Requires (Dev)
- clue/buzz-react: ^2.9
- laravel/legacy-factories: ^1.1
- orchestra/testbench-browser-kit: ^7.0
- phpunit/phpunit: ^9.0
- ratchet/pawl: ^0.3.5
Suggests
- ext-pcntl: Running the server needs pcntl to listen to command signals and soft-shutdown.
- doctrine/dbal: Required to run database migrations (^2.9|^3.0).
README
Note
Laravel WebSockets is no longer maintained. If you are looking for a PHP-based WebSocket solution, check out Laravel Reverb which is also built on top of ReactPHP and allows you to horizontally scale the WebSocket server.
Bring the power of WebSockets to your Laravel application. Drop-in Pusher replacement, SSL support, Laravel Echo support and a debug dashboard are just some of its features.
Documentation
For installation instructions, in-depth usage and deployment details, please take a look at the official documentation.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email marcel@beyondco.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.