Route Form Method Spoofing Laravel 5.7
Type Template Spoofing does not help PUT, PATCH or DELETE behavior in the type html form. You will then need to add a hidden field of method to the form.
Let see in below example.
<form action="/save-user" method="POST">
<input type="hidden" name="_method" value="PUT">
<input type="hidden" name="_token" value="{{ csrf_token() }}">
</form>
Also you use blade method like this:
<form action="/save-user" method="POST">
@method('PUT')
@csrf
</form>
And if you like this tutorials please share it with your friends via Email or Social Media.