laravel / reverb

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

Pusher error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0" #104

Closed iqbalhasandev closed 7 months ago

iqbalhasandev commented 7 months ago

Reverb Version

v1.0.0-beta4

Laravel Version

v11.0.7

PHP Version

8.2.16

Description

I have Laravel reverb served in a subdomain on my server. Now I have connected to that subdomain from local with laravel-echo and there is no problem in eco connection.

But when I try to fire an event from the back-end I keep getting this error "Pusher error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0" ". But I can't understand why it is showing.

But when I am locally using an application as a socket only and firing events from another application then everything is working fine only when I deploy reverb on the server there is a problem.

My concept is that there will be a reverb server in a subdomain and everyone will connect to that reverb server subdomain from another domain.

crynobone commented 7 months ago

Seem like socket.iqbalhasan.dev is not running on PHP 8.2. The posted error may come from Reverb but exception originated from Composer.

crynobone commented 7 months ago

Hi there,

Thanks for reporting the problem you are encountering, but it looks like this is a question which may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repository you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

iqbalhasandev commented 7 months ago

if serve

Seem like socket.iqbalhasan.dev is not running on PHP 8.2. The posted error may come from Reverb but exception originated from Composer.

But my server is running php 8.2. server. Since PHP 8.2 is running, Laravel-Echo is connecting to the server. I have checked many times