5
votes

Since in Laravel 5 the form builder class is absent (you can add it, I know), how can I make put, patch and delete requests to match those routes without using any form builder class, just plain Laravel?

1

1 Answers

7
votes

You should try adding:

<input name="_method" type="hidden" value="DELETE">

to your form. This is what Form generator do in Laravel 4 - it simply adds hidden input with name _method.

Of course for DELETE value in above example you can put any other methods