@php $segment1 = request()->segment(1); $segment2 = request()->segment(2); $segment3 = request()->segment(3); @endphp