Send a form using PUT instead of POST

I was wondering whether it’s possible to submit a form using a method other than POST in Slim, for example PUT, PATCH, etc.

With Laravel, you can use the @method('PATCH') directive, which adds the necessary information to the form, and then use patch() instead of post() in the router.