NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2735 most downloaded on Packagist
An easy to launch a Pusher-compatible WebSockets server for Laravel.
Latest stable
1.14.1
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 11 months
Nearly every release is documented
notes for 28 of 30 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
67 releases · first in 2018
Drag across the ruler to compare, or tap a release to open it.
Laravel 9 support
Fixed custom websocket handlers definitions
Laravel Octane additional fixes
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Removed higher-order messages in favor of callbacks
Fixed a bug that needed force release of the lock for Array manager
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Reverted deprecation of Laravel 6.x and PHP 7.2
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Nothing published for this version
Deprecated Laravel 6.x and PHP 7.2
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
-beta.25 for listeners, if needed (https://github.com/beyondcode/laravel-websockets/pull/556)buzz-react (https://github.com/beyondcode/laravel-websockets/pull/582)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
async-redis queue driver for non-blocking I/O queue processing (https://github.com/beyondcode/laravel-websockets/pull/552)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
broadcastAcrossServers was not called if the needed channel existed locally (https://github.com/beyondcode/laravel-websockets/commit/7519da4a08f062e9983a4e3e1f698b8e4e8ca83d, https://github.com/beyondcode/laravel-websockets/commit/546c4fd0ef362e457b33c1da2e8625a1230cc893)broadcastAcrossServers() now accepts a socketId parameter to know the origin of the event (if possible) (https://github.com/beyondcode/laravel-websockets/commit/30c6635a9159167a9d57117552905b83edcdae3d)broadcastLocallyToEveryoneExcept to broadcast only locally, excepting a socket ID (https://github.com/beyondcode/laravel-websockets/commit/9856fb62ed26a29a443974a0e3692d927ecf3f13)mapWithKeys lead to duplicate keys when removing obsolete connections (https://github.com/beyondcode/laravel-websockets/commit/9a6e8e3dc13260d6937e239e259c844eb20d8e19)getForGraph() now accepts a $processCollection closure (https://github.com/beyondcode/laravel-websockets/commit/14a79447f5502a9ef67897b444583b24edd817f4)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
zrange to zrangebyscore to fix obsolete connections detection that caused connections to be imminently closed (https://github.com/beyondcode/laravel-websockets/commit/23e8b3db44b494ba94ef9b6722789411aa690cfd)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
/health endpoint for healthchecks (https://github.com/beyondcode/laravel-websockets/pull/524)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
The package got re-written from scratch. Ensure to check the PR https://github.com/beyondcode/laravel-websockets/pull/447 to see the main changes. Take special precautions with the migrations & config file.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
This release changes the way some interfaces work and the config file. Make sure to adapt the diff changes to your app as well.
react/dns as it is no longer used. (https://github.com/beyondcode/laravel-websockets/compare/2.0.0-beta.16...2.x#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780)managers.channel and statistics.logger from config moved to each replication driver's channel_manager and statistics_logger (https://github.com/beyondcode/laravel-websockets/compare/2.0.0-beta.16...2.x#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
->driver::create method now lies into a separate method that can be customized (https://github.com/beyondcode/laravel-websockets/commit/1923ceedeabc13285430203f900d70f75d464bd5, https://github.com/beyondcode/laravel-websockets/commit/f1a14fbd1dab7e58a8ea64ceafac94d293119320)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
websockets driver. Switch to pusher to achieve the same results (https://github.com/beyondcode/laravel-websockets/pull/490)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
stdClass for payloads (https://github.com/beyondcode/laravel-websockets/pull/447/commits/3f8bb62291fa0f45a24ac2a73f3add2d6b2ff152)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
BeyondCode\LaravelWebSockets\Statistics\Logger\StatisticsLogger interface's methods now use $appId as accepting parameter instead (https://github.com/beyondcode/laravel-websockets/commit/108a717c0af82f5f04e8164a13211b3c36dcc401)BeyondCode\LaravelWebSockets\Statistics\Drivers\StatisticsDriver interface now accepts optionally Request parameter as null (https://github.com/beyondcode/laravel-websockets/commit/714cc5b22def3da5f1ef8da23b2c89cd0af42d87)BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\DashboardApiController got changed with BeyondCode\LaravelWebSockets\Dashboard\Http\Controllers\ShowStatistics. If you are extending this controller, make sure to change the extended class properly.Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
This PR fixes a memory leak caused by the broadcast() method: (https://github.com/beyondcode/laravel-websockets/pull/475). To see the full replication and details regarding the problem, check https://github.com/beyondcode/laravel-websockets/issues/325 and https://github.com/laravel/framework/issues/33952.
For now, the only way to fix the memory leak was to remove StatisticsUpdated and the WebSocketStatisticsEntriesController and replace the event listening update in the dashboard with continuous polling to the /stats endpoint.
This changed the BeyondCode\LaravelWebSockets\Statistics\Drivers\StatisticsDriver interface by adding a get() method.
Changelog:
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
master branchKeep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
6001 (https://github.com/beyondcode/laravel-websockets/commit/5153568867bc98aa3f391ff1664b86f31d48b6c6)2.x changes (https://github.com/beyondcode/laravel-websockets/pull/468)Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Keep in mind, this release is experimental. Testing and reporting issues are highly appreciated.
Please check this PR for more details and roadmap: https://github.com/beyondcode/laravel-websockets/pull/447
websockets:serve instances. (https://github.com/beyondcode/laravel-websockets/pull/140). The Redis replication for horizontal scaling need an additional broadcaster driver called 'websockets' that can be configured like the pusher one. You can use it for the horizontal replication instead of 'pusher'Fix Symfony deprecation error in TriggerEventController by @pajkho in https://github.com/beyondcode/laravel-websockets/pull/1147
Full Changelog: https://github.com/beyondcode/laravel-websockets/compare/1.14.0...1.14.1
Add Laravel 10 support
Make TriggerEventController accept both 'channel' and 'channels'. by @madpilot78 in https://github.com/beyondcode/laravel-websockets/pull/1046
Full Changelog: https://github.com/beyondcode/laravel-websockets/compare/1.13.1...1.13.2
[1.x] fix PHP 8.1 deprecation notice by @afilippov1985 in https://github.com/beyondcode/laravel-websockets/pull/918
Full Changelog: https://github.com/beyondcode/laravel-websockets/compare/1.13.0...1.13.1
[1.x] Fix call to deprecated JsonResponse::create() by @joecampo in https://github.com/beyondcode/laravel-websockets/pull/947
wssPort for SSL example by @stayallive in https://github.com/beyondcode/laravel-websockets/pull/776Full Changelog: https://github.com/beyondcode/laravel-websockets/compare/1.12.0...1.13.0
- Laravel Octane fixes
Revert the findByKey() to findBySecret()
findByKey() to findBySecret() (https://github.com/beyondcode/laravel-websockets/pull/707)- Support for PHP 8.x
- php-pusher ^5.0 support
Replaced buzz-react with react/http
buzz-react with react/http (https://github.com/beyondcode/laravel-websockets/pull/583)- Added getName() for channels
getName() for channels (https://github.com/beyondcode/laravel-websockets/commit/c85ec38452f8dfdad4310dc22af19108f89fa9fe)If same user opens multiple connections (for example, in different tabs), the pusher_internal:member_added and pusher_internal:member_removed get trig
pusher_internal:member_added and pusher_internal:member_removed get triggered only on the first and last connection-only (https://github.com/beyondcode/laravel-websockets/pull/530)Fixed a bug where the presence channels duplicated in the list same-id users
Laravel 8.x support & Laravel 5.8.* deprecation
Fixed a bug with the logger interfering with other declared routes
Missing user_info in presence channels does not throw errors anymore
user_info in presence channels does not throw errors anymore (https://github.com/beyondcode/laravel-websockets/pull/457)Schema no longer breaks the package:discover command if no database driver is found (https://github.com/beyondcode/laravel-websockets/pull/454, https://github.com/beyondcode/laravel-websockets/commit/65ae998aed4496b9b3658915636b23a65724b67a)websockets:restart command to restart the server on-demand (https://github.com/beyondcode/laravel-websockets/pull/284)Fixed the dashboard called links
Fixed the default logger instance class
The Statistics Logger handler can now be extended
forceTLS: true setting that caused errors for some users that used the non-SSL config (https://github.com/beyondcode/laravel-websockets/pull/435)Fix compatibility with laravel/passport
Nothing published for this version
Added "Maximum connection limit exceeded" message in dashboard
Added support for Pusher PHP Server 4.x
One column per quarter.