Laravel Websockets - Package Usage & Demos

preview_player
Показать описание

We take a look at the Laravel Websockets package by Freek from Spatie and Marcel from beyondcode. This package is a websockets server written in PHP and can be used as a replacement for Pusher. We take a look at getting the demo chat application running and we also convert one of my projects using Pusher to use this package instead. We then take some time to get it running on a real production server, set up supervisor and make sure everything is encrypted.

# LINKS
Рекомендации по теме
Комментарии
Автор

I actually appreciate that you show all the troubleshooting that normally goes into this stuff.

Ribby
Автор

High quality video!
You don't ramble and you demonstrate the important concepts very well, thanks

sleeplessdev
Автор

Very thorough tutorial. Really liked it

NitishKumarPatra
Автор

Hello Sir please do you have any idea how to configure the websocket in server ( nginx ) i use laravel homestead
i tried all google tutorials but hard for me to understand
Thanks

sprogmin
Автор

You just saved me hours of work, man. #grateful

salvationarinze
Автор

Just saw your channel and was glad that I clicked on it. Great content keep it up!!

accuseeed
Автор

Nice guide! You took a lot of time to help everyone else debug it. I got one question though, why did you use supervisor and not Forge Daemons? Wouldn't Daemons do the same thing as supervisor? (Side thought... I guess that's good for those who don't use forge.)

zachthemaniac
Автор

Cool post! You are best! But I have one question, why did you set app url with your custom url? Please kindly let me know, thanks.

diyang
Автор

Thank you very much, I was stuck for hours but you helped me to take into account several things.
"in the bootstrap.js file and that will do the trick.

davidquiroga
Автор

is this only working between 2 users?, do u know how i can create the chatroom per button "user", when i pressed it?

prospectHCE
Автор

Большое спасибо! У Вас классные уроки!

bobpps
Автор

Hello, nice video! thank you. I have a question: the official website says: "Forget about Node". Why you install NPM?

PildorasMusicales
Автор

how can I fix it createWebSocket: function (url) {
var Constructor = this.getWebSocketAPI();
return new Constructor(url);

mdgazuruddin
Автор

Can we set up the websocket running by directly using command in the forge ?

g-tensolution
Автор

Hey Andre,

Do you have any idea how to make a custom websocket handler ?
cauz I tried it before but I have an issue :
*Target is not instantiable while building [BeyondCode\LaravelW


Do you have any idea about it?

Thank you for all!

OthmaneNemliDon
Автор

iam using vecta cp and let's encrypt ssl what shoud i do to make it work

mostafaelzoghbi
Автор

Hey Andre 👋 I was wondering how you can do this with nginx.
I followed your demo but I always get this error : Error in connection establishment: net::ERR_CONNECTION_TIMED_OUT

Shaharcutenum
Автор

Very good video. I have a question. I want to upload image to send users via websocket. How can I implement it?

webaction
Автор

Great from Andre... Do a video on direct messaging other than broadcast. Will be great of you.

benedictephantus
Автор

Really Love your channel If you create a website like laracasts i will be your first suscribers !!!

lanDiii