login using username in laravel code example Example 1: how to find the name of login user in laravel Auth::user()->name Example 2: login with laravel php artisan make:auth