正在加载视频...

视频加载失败

Reverb is so easy to set up 🤩 - `php artisan install:broadcasting` - `php artisan make:event` - Implement `ShouldBroadcast` with a channel name - Use Echo to listen This demo took 5 minutes to set up, and I've never seen Reverb before today. Amazing work.

27,320 次观看 • 2 年前 •via X (Twitter)

10 条评论

Luke Downing 的头像
Luke Downing2 年前

It is now so simple to add websocket support to your apps that it's almost criminal not to. Add to that the fact that it's *literally a toggle in Forge* and we have ourselves a showstopper 🔥

Luke Downing 的头像
Luke Downing2 年前

I explore all of this and more in my latest Larabit:

Jim Hull 的头像
Jim Hull2 年前

i would love a "so you're using Pusher, well now use this" kind of doc

Al Nahian 🎯 的头像
Al Nahian 🎯2 年前

Omg this looks clean 😍 Gotta try Laravel Reverb tonight 🤟

ArielMejiaDev 的头像
ArielMejiaDev2 年前

what are you using with breeze? blade view? livewire? inertia? what should be the right path to make a little demo?

Luke Downing 的头像
Luke Downing2 年前

This is Breeze with Inertia, but you can do it with any stack you'd like!

Muzafar Shah 的头像
Muzafar Shah2 年前

will this work flawlessly with Laravel as a backend API and React Native as a mobile app?

Luke Downing 的头像
Luke Downing2 年前

Never looked into react native. Does it support websockets?

PUBG Lookup dot com 的头像
PUBG Lookup dot com2 年前

Is it polling? That response time seemed slow. Any insight into why that might be?

Luke Downing 的头像
Luke Downing2 年前

Pretty sure it’s because my browser isn’t the focused window, so it throttles requests

相关视频