@php $authCheck = auth()->check(); $permission= auth()->user(); @endphp @foreach($roles as $key => $role) {{-- --}} @endforeach
S.No. Role Actions
{{ $key + 1 }}{{ $roles->firstItem() + $key }} {{ $role->name }} {{--
@csrf @method('DELETE')
--}}
{{ $roles->links() }}