Don't hardcode version number in documentation
This commit is contained in:
parent
d59591b7ab
commit
a49618f248
13
README.md
13
README.md
|
|
@ -78,18 +78,9 @@ Run the following to use the latest stable version
|
||||||
```sh
|
```sh
|
||||||
composer require phpoffice/phpword
|
composer require phpoffice/phpword
|
||||||
```
|
```
|
||||||
or if you want the latest master version
|
or if you want the latest develop version
|
||||||
```sh
|
```sh
|
||||||
composer require phpoffice/phpword:dev-master
|
composer require phpoffice/phpword:dev-develop
|
||||||
```
|
|
||||||
|
|
||||||
You can of course also manually edit your composer.json file
|
|
||||||
```json
|
|
||||||
{
|
|
||||||
"require": {
|
|
||||||
"phpoffice/phpword": "v0.18.*"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
|
||||||
|
|
@ -28,26 +28,18 @@ You just need to `add dependency <https://getcomposer.org/doc/04-schema.md#packa
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: bash
|
||||||
|
|
||||||
{
|
composer require phpoffice/phpword
|
||||||
"require": {
|
|
||||||
"phpoffice/phpword": "v0.18.*"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
If you are a developer or if you want to help us with testing then fetch the latest branch for developers.
|
If you are a developer or if you want to help us with testing then fetch the latest branch for developers.
|
||||||
Notice: all contributions must be done against the developer branch.
|
Notice: all contributions must be done against the developer branch.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
.. code-block:: json
|
.. code-block:: bash
|
||||||
|
|
||||||
{
|
composer require phpoffice/phpword:dev-develop
|
||||||
"require": {
|
|
||||||
"phpoffice/phpword": "dev-develop"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
Using samples
|
Using samples
|
||||||
-------------
|
-------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue