$text = array();
$text[] = array("text" => "Version 1.0");
$text = $docx->addText($text, array('rawWordML' => true));
$textFragment = $docx->createWordMLFragment($text);
$numbering = $docx->addPageNumber("numerical", array("rawWordML" => true));
$pageFragment = $docx->createWordMLFragment(array($numbering));
$value = array(array($textFragment, "Pag", $pageFragment));
$tabla = $docx->addTable($value, array("tableWidth"=>array("type" => "pct", "value" => 100), "size_col" => array(11000), "border" => "none", "rawWordML" => true));
$myFooter = $docx->createWordMLFragment($tabla);
$docx->addFooter(array("default" => $myFooter));