@php /** @var App\Models\User $user */ @endphp {{ $user->email }}
Request::path() Request::url() url()->current() // older helper method
Removes the last directory of URL/Path:
dirname(Request::url()) // dirname(url()->current())