Answers for "laravel contains(auth()->user())"

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

Code answers related to "laravel contains(auth()->user())"

Browse Popular Code Answers by Language