phprouter
phprouter copied to clipboard
Feature request: Override method
Hello, in html forms, most browsers can't handle DELETE, PUT or PATCH as request method.
Laravel has a feature that if there's a POST request with a hidden field named _method
, it overrides the real method.
this would require an additional check for $_POST["_method"]
I'd really appreciate if a feature like this could be implemented, so this logic doesn't have to be implemented in each controller
Thanks in advance, Moritz