Laravel team released v10.14 with a new validation rule, define custom Gate denial response, global HTTP client middleware, HTTP client convenience methods, and more. The validation rule provides a way to authorize an ability for a given form field. This allows you to move some authorization logic from the controller and into the form request.
Table of contents
The can validation ruleSet a custom response for denial within Gate@inspect()Global HTTP middlewareAdd a withHeader() method to PendingRequestAdd withQueryParameters convenience method to the HTTP clientRelease Notesv10.14.01 Comment
Sort: