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.

2m read timeFrom laravel-news.com
Post cover image
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.0
1 Comment

Sort: