Ok, I've already found a solution :-)
$docx->replaceTemplateVariableByHTML('PAGEBREAK', 'block', '<p style="page-break-before: always;">aaa</p>');
🏷️ Limited Offer: 25% OFF 🏷️
First 100 purchases only — Special discount!
Use this coupon on checkout: PHPDXPJ_D1SC1N5T
Get it now