1// Blade
2@method('delete')
3
4// Html
5<input type="hidden" name="_method" value="delete">
1<form method="POST" action="{{ route('route.name', [ 'id'=> $item->id ]) }}">
2 @csrf
3 <input type="hidden" name="_method" value="DELETE">
4 <button type="submit" class="btn btn-danger btn-icon">
5 <i data-feather="delete"></i>
6 </button>
7 </form>