Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

GodziLaravel's avatar

Is it possible to keep using beyondcode/laravel-websockets in laravel 11?

Hello

I'm using on Laravel 10 and I would like to upgrade to Laravel 11 but the only problem I faced was about: beyondcode/laravel-websockets

As you know It's not anymore supported. I would like to know if it's possible to use it on Laravel 11 until I switch to another solution?

Second question is there another package that I can use without changing the whole code (frontend+backend) ?

My current configuration : PHP 8.3.6

Composer.json

  "require": {
        "php": "^8.3",
        "barryvdh/laravel-ide-helper": "*",
        "beyondcode/laravel-dump-server": "*",
        "doctrine/dbal": "^3.0",
        "guzzlehttp/guzzle": "^6.5|^7.0.1",
        "intervention/image": "^2.5",
        "laravel/framework": "^11.0",
        "laravel/socialite": "^5.0",

package.json (vuejs)

 "dependencies": {

        "daterangepicker": "^3.0.5",
        "font-awesome": "^4.7.0",

        "laravel-echo": "^1.10.0",

        "mini-toastr": "0.6.6",

Thanks.

0 likes
3 replies
GodziLaravel's avatar

@rodrigo.pedra Thanks

Is it "easy" to switch from laravel-websockets to Laravel reverb? or should I change all my code ?

Thanks again

rodrigo.pedra's avatar

@GodziLaravel

I used Laravel Web Sockets in a project long ago, for a company I don't work to anymore. So I can't say I am familiar with it anymore.

Both solutions use a ReactPHP event loop, both focus on providing a Pusher protocol drop-in, and both solutions are targeted to work with Laravel Echo.

I guess replacing one with another should be simple enough.

Please or to participate in this conversation.