Added sockets for notifications

This commit is contained in:
dredgy committed 2026-06-30 20:49:36 +10:00
1 parent e551e202d5
commit 6cadd3d9e6
25 files changed
+1639 -193

No files matched your search

+7
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;
});