protect route from other users in laravel code example
Example 1: how to find the name of login user in laravel
Auth::user()->name
Example 2: laravel auth
composer require laravel/ui:^2.4
php artisan ui vue --auth
Auth::user()->name
composer require laravel/ui:^2.4
php artisan ui vue --auth