Hello,
You can read the available upgrades on MY PHPDOCX page after login. If you want to use the removeWordContent method you need to upgrade to Advanced, Premium or Bureau license. The Basic license was removed last year.
phpdocx 14.5 supports all PHP versions from PHP 5.6 to PHP 8.3 as detailed on the FAQs (https://www.phpdocx.com/faqs)
Regards.