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