<?php
$name = Auth::user()->name;
echo $name;