laravel auth user_id
snippet in php

laravel auth user_id

user298

$userId = Auth::id();