changed \Str::camel to camel_case which is in core Laravel