createResponse(200)->withHeader('Content-Type', 'application/json'); $res->getBody()->write(json_encode([ 'ok' => true, 'framework' => 'Phred', ], JSON_UNESCAPED_SLASHES)); return $res; } }