Step 1: Install and configure packages (MongoDB, Reverb, Echo)

This commit is contained in:
idevakk
2026-03-05 13:48:08 +05:30
parent e7895cb70c
commit 92b243e3ad
15 changed files with 1593 additions and 5 deletions

7
routes/channels.php Normal file
View File

@@ -0,0 +1,7 @@
<?php
use Illuminate\Support\Facades\Broadcast;
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
return (int) $user->id === (int) $id;
});