Laravel V11.8 Released With New Features And Updates
Laravel v11.8 released with new validation rule, manual command failure, create view during make:mail, and more.
This week, the Laravel team released v11.8, with a new validation rule, the ability to fail a command outside the handle() method, create a view during make:mail, and more. #Show Events in the model:show Command Wendell Adriel contributed an Events section to the model:show command that displays any events defined on the $dispatchesEvents property: #New contains Validation Rule Andrew Brown contributed a contains validation rule that checks to make sure expected values are included in the given array of input: return [ 'allowed_ips' => ['present', 'nullable', 'array', 'contains:' . $reque...