Hello,
All code that works with phpdocx 7.5 should work with phpdocx 10 (changing INC extensions to PHP extensions to include the library), as they use the same API (adding new options, methods and features).
Please send to contact[at]phpdocx.com one of the corrupted DOCX you get; and also run some of the included samples to check if they are generated correctly. In most cases, a corrupt DOCX comes from adding extra information when the document is downloaded: https://www.phpdocx.com/documentation/cookbook/corrupted-docx
Regards.