Hello, No, that package is not legit. You can include phpdocx as any other external library with composer. This is a quick guide using the namespace package (only for Corporate and Enterprise licenses): 1) Extract the package to the vendor/phpdocx folder 2) Add this line in the autoload option of your composer.json: "files": [ "vendor/phpdocx/Classes/Create/CreateDocx.inc" ] 3) Update the composer autoloader: php composer.phar dump-autoload 4) You can use the library: $docx = new \Phpdocx\Create\CreateDocx(); $docx->addText('This is a test'); $docx->createDocx('Sample');
On https://www.phpdocx.com/documentation/cookbook/ there're guides to use phpdocx with Composer. frameworks and CMS. Private repositories can also be used.