@php $seg1 = request()->segment(1); $seg2 = request()->segment(2); @endphp