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?
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With