shlogg · Early preview
Paul Redmond @paulredmond

Laravel V11.7 Released With New Features And Improvements

Laravel v11.7 released with Rule::array() method, whereJsonOverlaps() for MySQL, Slack OpenID provider for Laravel Socialite and more.

This week, the Laravel team released v11.7, with a Rule::array() validation method, a whereJsonOverlaps() method for MySQL, a Slack OpenID provider for Laravel Socialite, and more.
#Introduce the Rule::array() Method
Jakub Potocký contributed the Rule::array() method used to validate multiple array keys using the array validation rule. This method enables using this rule with arrays and collections without having the concatenate dynamic values:
use Illuminate\Validation\Rule; // Before['array:' . MyBackedEnum::VALUE->value . ',' . MyBackedEnum::VALUE_2->value]; // After examplesRule::array('ke...