How to install PHPWord library using composer

Viewed 14947
4 Answers

Download the latest version from https://github.com/PHPOffice/PHPWord/releases

You first need to add the installed version to the composer.json file :

"version": "0.13.0"

And run the below command in cmd

$ composer require phpoffice/phpword

Make sure you have installed composer in your system

Related