{{-- methods --}}
{!! Form::label("middleware_{$key}_methods[]", 'Request Methods', ['class' => 'form-label fs-6 fw-semibold']) !!}
@php $allMethods = ['get', 'post', 'put', 'patch', 'delete', 'options', 'head', 'trace', 'connect']; @endphp {!! Form::select("middleware_{$key}_methods[]", array_combine($allMethods, $allMethods), @$methods ?? null, [ 'class' => 'form-select', 'data-kt-select2' => 'true', 'data-placeholder' => 'Select Methods', 'data-allow-clear' => 'true', 'multiple' => 'true' ]) !!} {{__('The firewall will work on only these request methods. Empty means will not work on any request')}}