laravel get AuthenticatesUsers code example
Example 1: laravel get auth user id
// Get the currently authenticated user's ID...
$id = Auth::id();
Example 2: get user auth in laravel
Auth::user();
// Get the currently authenticated user's ID...
$id = Auth::id();
Auth::user();