well have solved my problem by adding sections instead of pagebreaks
$options = array('marginRight'=> 850, 'marginLeft'=>850);
$docx->addSection('nextPage', 'A4', $options);
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now