This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php declare(strict_types=1); | |
| /** | |
| * Enhances HTTP method support by enabling method override functionality. | |
| * | |
| * This middleware allows for the use of PUT, PATCH, and DELETE methods | |
| * in environments where they are not natively supported, such as HTML forms | |
| * or PHP's limited handling of request methods beyond GET and POST. | |
| * | |
| * Method override can be achieved through: |