There is a laravel controller where i use code
$user = Auth::user(); I invoke the current user $user , and I can get his attributes for example
$user->name; $user->surname; But how to get an array or collection of all attributes of the user $user ?