Json Response Wrapper is a library which is responsible for wrapping PHP Slim Response to json standardized format.
Wrapping process is described in example below.
public function testAction(Response $res, Request $req)
{
$jsonResponse = JsonResponseFactory::success("test message", []);
return JsonResponseWrapper::newInstance()
->withJsonResponse($jsonResponse)
->wrap($res);
}