laravel / reverb

Laravel Reverb provides a real-time WebSocket communication backend for Laravel applications.
https://reverb.laravel.com
MIT License
1.05k stars 76 forks source link

Support For Laravel 10 #227

Closed mudassirmaqbool closed 1 month ago

mudassirmaqbool commented 1 month ago

ERROR There are no commands defined in the "reverb" namespace.

I know upgrading to Laravel 11 would be a simple solution but if its not much of work support for laravel 10 would be great for large applications in production.

The Problem: command does not work in Laravel 10. php artisan install:broadcasting

Looks like laravel/framework v10.48.16 does not contain the BroadcastingInstallCommand class. Therefore, it won't install. https://github.com/laravel/framework/tree/10.x/src/Illuminate/Foundation/Console

joedixon commented 1 month ago

Hey @mudassirmaqbool Laravel 10 is supported, but the install process is a little more manual since, as you mentioned, the install:broadcasting command is not available.

You can find Laravel 10 installation instructions here: https://laravel.com/docs/10.x/reverb#main-content