Hello,
You need the set the border* properties.
For example:
$valuesTable = array(
array(
array(
'value' => 11,
'borderLeft' => 'nil',
'borderTop' => 'nil',
'borderBottom' => 'nil',
),
array(
'value' => 12,
'borderTop' => 'nil',
'borderBottom' => 'nil',
),
array(
'value' => 13,
'borderTop' => 'nil',
'borderBottom' => 'nil',
),
array(
'value' => 14,
'borderTop' => 'nil',
'borderRight' => 'nil',
'borderBottom' => 'nil',
),
),
);
$paramsTable = array(
'border' => 'single',
'tableAlign' => 'center',
'borderWidth' => 10,
'borderColor' => 'B70000',
'textProperties' => array('bold' => true, 'font' => 'Algerian', 'fontSize' => 18),
);
$docx->addTable($valuesTable, $paramsTable);
Regards.