File tree Expand file tree Collapse file tree 2 files changed +7
-24
lines changed
Expand file tree Collapse file tree 2 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -76,20 +76,11 @@ To [add a dependency](https://getcomposer.org/doc/04-schema.md#package-links) to
7676
7777Run the following to use the latest stable version
7878``` sh
79- composer require phpoffice/phpword
79+ composer require phpoffice/phpword
8080```
81- or if you want the latest master version
81+ or if you want the latest develop version
8282``` sh
83- composer require phpoffice/phpword:dev-master
84- ```
85-
86- You can of course also manually edit your composer.json file
87- ``` json
88- {
89- "require" : {
90- "phpoffice/phpword" : " v0.18.*"
91- }
92- }
83+ composer require phpoffice/phpword:dev-develop
9384```
9485
9586## Getting started
Original file line number Diff line number Diff line change @@ -28,26 +28,18 @@ You just need to `add dependency <https://getcomposer.org/doc/04-schema.md#packa
2828
2929Example:
3030
31- .. code-block :: json
31+ .. code-block :: bash
3232
33- {
34- "require" : {
35- "phpoffice/phpword" : " v0.18.*"
36- }
37- }
33+ composer require phpoffice/phpword
3834
3935 If you are a developer or if you want to help us with testing then fetch the latest branch for developers.
4036Notice: all contributions must be done against the developer branch.
4137
4238Example:
4339
44- .. code-block :: json
40+ .. code-block :: bash
4541
46- {
47- "require" : {
48- "phpoffice/phpword" : " dev-develop"
49- }
50- }
42+ composer require phpoffice/phpword:dev-develop
5143
5244 Using samples
5345-------------
You can’t perform that action at this time.
0 commit comments