In Laravel 11.x, `Arr::accessible()` is a method provided by Laravel’s `Illuminate\Support\Arr` helper class. It is used to check whether a given value is an array or an instance of `ArrayAccess` (such as Laravel collections).
Usage of `Arr::accessible()` in Laravel 11.x
use Illuminate\Support\Arr; use Illuminate\Support\Collection; $data1 = ['name' => 'John', 'email' => 'john@example.com']; $data2 = collect(['name' => 'Alice', 'email' => 'alice@example.com']); $data3 = 'Hello World'; var_dump(Arr::accessible($data1)); // true (array) var_dump(Arr::accessible($data2)); // true (collection) var_dump(Arr::accessible($data3)); // false (string)