compositor instalar phpword
$ composer require phpoffice/phpword
Gleaming Gazelle
$ composer require phpoffice/phpword