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
76
76
77
77
Run the following to use the latest stable version
78
78
``` sh
79
- composer require phpoffice/phpword
79
+ composer require phpoffice/phpword
80
80
```
81
- or if you want the latest master version
81
+ or if you want the latest develop version
82
82
``` 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
93
84
```
94
85
95
86
## 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
28
28
29
29
Example:
30
30
31
- .. code-block :: json
31
+ .. code-block :: bash
32
32
33
- {
34
- "require" : {
35
- "phpoffice/phpword" : " v0.18.*"
36
- }
37
- }
33
+ composer require phpoffice/phpword
38
34
39
35
If you are a developer or if you want to help us with testing then fetch the latest branch for developers.
40
36
Notice: all contributions must be done against the developer branch.
41
37
42
38
Example:
43
39
44
- .. code-block :: json
40
+ .. code-block :: bash
45
41
46
- {
47
- "require" : {
48
- "phpoffice/phpword" : " dev-develop"
49
- }
50
- }
42
+ composer require phpoffice/phpword:dev-develop
51
43
52
44
Using samples
53
45
-------------
You can’t perform that action at this time.
0 commit comments