Answers for "Auth::routes();"

PHP
5

get id user login laravel

use Auth;
$user_id = Auth::user()->id;
Posted by: Guest on January-06-2021
0

how to find the name of login user in laravel

Auth::user()->name
Posted by: Guest on November-17-2020
-1

make authentication in laravel

composer require laravel/ui:^2.4

php artisan ui vue --auth
Posted by: Guest on November-14-2020

Browse Popular Code Answers by Language