The same scripts should work correctly without doing changes. Just note that instead of INC extensions, the classes use PHP extensions since the release of phpdocx 8. Using phpdocx 7.5 or previous you need to do:
And phpdocx 8 or newer needs:
Anyway, if after doing the upgrade you have any issue please write to contact[at]phpdocx.com and we'll be able to help you.