Skip to content

Websockets package doesn't support Laravel 11 #295

Closed
@gwleuverink

Description

@gwleuverink

What were you trying to do?

Hi @simonhamp, thanks for this awesome project 🚀

There is one thing I came across while implementing event broadcasting with Laravel 11.

It seems that Laravel Websockets package NativePHP integrates with has been archived and doesn't work with Laravel 11.

I need to dispatch events from a scheduled command. As I understand it right now, this doesn't work with electron's IPC. It seems only native-php events are emitted this way (or am I perhaps missing something?)

It seems like in order to support event broadcasting the same way in Laravel 11 support for Reverb needs to be added.

What happened?

The Laravel websockets package can't be installed with Laravel 11.

How to reproduce the bug

  1. Create a new Laravel 11 project
  2. Install NativePHP (0.6.3)
  3. Try to install Laravel websockets -> composer require beyondcode/laravel-websockets

Package Versions

0.6.3

PHP Version

8.2.16

Laravel Version

11.6.0

Node Version

21.7.3

Which operating systems have you seen this occur on?

macOS

OS version

macos 14.4.1

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions