Skip to content

Glossary: Laravel

@method

Also written: @method('PUT'), method spoofing

A Blade directive that adds a hidden field so a form, which can only send GET or POST, can make Laravel treat the request as PUT (or another method).

Where the book teaches it

Related terms

HTTP methods@csrf