@php( $user_id = Auth::user()->id) @if($messages[0]['sender_id'] == $user_id)
Fatal error: Uncaught Error: Class "App\Models\User" not found in /home/alkhalaffamily/public_html/mazad/resources/views/site/messages/chat.blade.php:7 Stack trace: #0 {main} thrown in /home/alkhalaffamily/public_html/mazad/resources/views/site/messages/chat.blade.php on line 7