Palzin Track
Get 15% off with code PTRACKSIGNUP15 

Laravel Diary Logo

Laravel Application Helper Function: method_field

The method_field helper function in Laravel returns an instance of Illuminate\Support\HtmlString containing a hidden HTML input field. This field has the name _method and a value passed as an argument to the function. See examples with different methods: PUT, POST, GET, PATCH, DELETE. The return value is an HtmlString instance, corresponding to an HTML hidden input field.