code: 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();
      }
docs: Recursively camelize all keys in the provided array.
  
  @param array|null $data
  @return array