@php $route = explode('.',Route::currentRouteName()); @endphp

{{ ucwords(str_replace('-',' ',$route[1].' '.$route[0])) }}