1//In base controller
2protected function jsonResponse($data, $code = 200)
3{
4 return response()->json($data, $code,
5 ['Content-Type' => 'application/json;charset=UTF-8', 'Charset' => 'utf-8'], JSON_UNESCAPED_UNICODE);
6}
7//In your controller
8$this->jsonResponse($data);