samedi 5 août 2017

how to get current user id in laravel 5.4

i used this code in laravel 5.4 to get the current logged in user id

    $id = User::find(Auth::id());
    dd($id);

bu i receive "Null"



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vzRQGc
via IFTTT

Aucun commentaire:

Enregistrer un commentaire