Auth::attempt LARAVEL EXSEBTED PASSWORD code example
Example 1: get id user login laravel
use Auth;
$user_id = Auth::user()->id;
Example 2: laravel auth
composer require laravel/ui:^2.4
php artisan ui vue --auth
use Auth;
$user_id = Auth::user()->id;
composer require laravel/ui:^2.4
php artisan ui vue --auth