add reverb container, unread attribute in notification pivot table and private channel and event for new register

This commit is contained in:
2026-01-07 16:50:51 +01:00
parent 6eaac7a745
commit 2790026475
33 changed files with 1415 additions and 15 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
use Illuminate\Support\Facades\Broadcast;
Broadcast::channel('admins-private', function ($user) {
return in_array($user->role, [1, 2]);
});