@php use App\Models\Notification;$notifications = Notification::where('notifiable_id', auth()->id())->orderBy('created_at', 'desc')->take(15)->get(); $isUnread = $notifications->where('is_read', 0)->count(); @endphp