src/Utils/Arr.php
public static function camelize($data)
    {
        return collect($data)->mapWithKeys(function ($value, $key) {
            $key = Str::camelize($key);

            if (is_array($value)) {
                return [$key => static::camelize($value)];
            }

            return [$key => $value];
        })->all();
    }
public static function camelize($data)
    {
        return collect($data)->mapWithKeys(function ($value, $key) {
            $key = Str::camelize($key);

            if (is_array($value)) {
                return [$key => static::camelize($value)];
            }

            return [$key => $value];
        })->all();
    }
Recursively camelize all keys in the provided array.

@param array|null $data
@return array