Auth::routes(); code example
Example 1: get id user login laravel
use Auth;
$user_id = Auth::user()->id;
Example 2: how to find the name of login user in laravel
Auth::user()->name
Example 3: Auth::routes(['register' => false]); not working
Auth::routes(['register' => false]);
Example 4: make authentication in laravel
composer require laravel/ui:^2.4
php artisan ui vue --auth