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

realtebo's avatar

is there a Laravel Websockets alternative?

I am sad because I'm studyng integration with pusher.io and in the official doc of laravel 8 i see of "Laravel Websockets" package.

This package is currently absolutely not compatible with laravel 8 at all, its requirements are causing conflict at composer level

  Problem 1
    - beyondcode/laravel-websockets[1.12.0, ..., 1.x-dev] require pusher/pusher-php-server ^3.0|^4.0|^5.0 -> found pusher/pusher-php-server[dev-master, 3.0.0, ..., v3.4.1, v4.0.0, ..., v4.1.5, v5.0.0, ..., 5.0.x-dev (alias of dev-master)] but it conflicts with your root composer.json require (^7.0).
    - Root composer.json requires beyondcode/laravel-websockets ^1.12 -> satisfiable by beyondcode/laravel-websockets[1.12.0, 1.x-dev].

Is there anythink like laravel websocket to be used to create a pusher.io - like serrver?

0 likes
4 replies
Snapey's avatar

laravel-websockets is an alternative to using pusher.io service

1 like
realtebo's avatar

@Snapey I asked for an alternative to Laravel Websocket, because it cannot be installed on a clean project

Tippin's avatar

@realtebo I had this issue myself. However, it appears your composer.json already requires pusher-php-server 7.0 which is conflicting. Can you try:

composer remove pusher/pusher-php-server
composer require beyondcode/laravel-websockets "^1.12"

If that does not work, try manually adding the line in your composer

"beyondcode/laravel-websockets": "^1.12",

Then run composer update

Please or to participate in this conversation.