get logged user id laravel
snippet in php

get logged user id laravel

user8613

$id = Auth::user()->id;print_r($id);