@php $path = request()->path(); $is = fn($p) => str_starts_with($path, trim($p, '/')); @endphp