-
Notifications
You must be signed in to change notification settings - Fork 612
Can't install #784
Comments
hi @ceszgdav, is this already solved? |
Hi!, Not yet. The problem is, Is not compatible with the actually versión of pusher just with 5.0 or less |
different in my case, i installed laravel 7, and it's working fine. idk in laravel 8, some package's not supported. |
Probably Is that the problem because i'm using laravel 8. Need to check that. 🤔 |
hahaha i solved the problem bro,
and then , i changed my composer.json too in this line, from |
You should not mess in the
The problem is that Pusher has released version 6 & 7 of their PHP SDK and that is not compatible with Laravel Websocket 1.x so the solution is to install the Pusher SDK version 5 first. Once 2.x is released this might change but for 1.x this is the solution :) |
Yeah I have not figure out how to fix this using the But the easiest way is to add these 2 lines to the // ... rest of the composer file
"require": {
// ... other dependencies
"beyondcode/laravel-websockets": "^1.12",
"pusher/pusher-php-server": "^5.0"
}, And make sure to remove any duplicate lines if And after you've made the changes run |
There is no bug, it just has to do with dependencies and their version. When you run So adding them to the |
ohh sorry hahaha, nice info. i try it later, thanks mate. but maybe this issue is/can |
Guzzle/psr7 is the root cause of the problem you're facing and I don't subscribe to people manually changing the version in composer file, except you know what you're doing. use this command to downgrade. composer require "guzzlehttp/psr7:^1.7" |
I solved installing on a fresh laravel 8 with these commands
Hoping the wonderful people at beyond code update this package! I'm setting this up as an independent micro service, so I don't think it's going to cause any issues to run this way but I would be concerned if this was a full app. |
Thanks @alexhackney . For me, I solved it by installing some packages with these commands
I'm doing these in sail. |
This works on laravel 8.65. As for the |
When running
Downgrading |
hi , |
just use these then I think it will be fix cause I tried and it's working as well
|
thanks a lot. my problem is solved |
You can also try
to install beyondcode in your laravel 10 project I also using Laravel 10 to websocket Integration and this works fine for me. |
|
Just run this command |
the broblem is php version php8.1 not supported in laravel-websocket |
when this can support php8.1?. or i can just use the command should be fine? |
I had same problem after searching I found this youtube video that explains how to install beyondcode laravel web socket on laravel 10. It's working perfectly. composer require beyondcode/laravel-websockets -w Video Link: https://youtu.be/8RL584c7EsI |
composer require beyondcode/laravel-websockets -w --ignore-platform-req=ext-sodium |
Thanks, work for me, i'm using laravel 10 |
When I try to isntall in my laravel project this throw me a error
how can i fix this?
The text was updated successfully, but these errors were encountered: