olakunlevpn / laravel-websockets
Self-managed fork of beyondcode/laravel-websockets
Requires
- php: ^8.2
- ext-json: *
- guzzlehttp/psr7: ^2.0
- illuminate/broadcasting: ^11.0|^12.0|^13.0
- illuminate/console: ^11.0|^12.0|^13.0
- illuminate/http: ^11.0|^12.0|^13.0
- illuminate/routing: ^11.0|^12.0|^13.0
- illuminate/support: ^11.0|^12.0|^13.0
- olakunlevpn/ratchet: ^0.4.4
- pusher/pusher-php-server: ^7.0
- react/dns: ^1.1
- react/http: ^1.1
- spatie/ignition: ^1.0
- symfony/http-kernel: ^7.0|^8.0
- symfony/psr-http-message-bridge: ^7.0|^8.0
Requires (Dev)
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0|^10.0
- phpunit/phpunit: ^10.5|^11.0
This package is auto-updated.
Last update: 2026-06-11 13:08:33 UTC
README
A self-managed fork of beyondcode/laravel-websockets (abandoned upstream),
modernized for Laravel 11 / 12 / 13 and PHP 8.2+. Provides a
self-hosted, Pusher-protocol WebSocket server so the application does not depend
on a third-party realtime provider.
Namespace: Olakunlevpn\LaravelWebSockets.
Why this fork
Upstream beyondcode/laravel-websockets was archived in 2024 and capped at
Laravel 10 / Symfony 6. This fork:
- widens
illuminate/*to^11|^12|^13and Symfony components to^7|^8 - swaps the abandoned
facade/ignition-contractsforspatie/ignition - depends on
olakunlevpn/ratchet(our Symfony-7/8 constraint fork of Ratchet)
Installation
Consumed via a Composer path repository:
{
"repositories": [
{ "type": "path", "url": "Packages/laravel-websockets", "options": { "symlink": true } },
{ "type": "path", "url": "Packages/ratchet", "options": { "symlink": true } }
],
"require": {
"olakunlevpn/laravel-websockets": "@dev"
}
}
The service provider auto-registers via Laravel package discovery. Run the
server with php artisan websockets:serve.
Requirements
- PHP 8.2+
- Laravel 11 / 12 / 13
License
MIT (derived from beyondcode/laravel-websockets). Maintained by Olakunlevpn.