We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6f9ce commit 86115b9Copy full SHA for 86115b9
README.md
@@ -67,10 +67,18 @@ PHPWord requires the following:
67
## Installation
68
69
PHPWord is installed via [Composer](https://getcomposer.org/).
70
-You just need to [add dependency](https://getcomposer.org/doc/04-schema.md#package-links>) on PHPWord into your package.
+To [add a dependency](https://getcomposer.org/doc/04-schema.md#package-links>) to PHPWord in your project, either
71
72
-Example:
+Run the following to use the latest stable version
73
+```sh
74
+ composer require phpoffice/phpword
75
+```
76
+or if you want the latest master version
77
78
+ composer require phpoffice/phpword:dev-master
79
80
81
+You can of course also manually edit your composer.json file
82
```json
83
{
84
"require": {
0 commit comments