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
|
||||
composer require phpoffice/phpword
|
||||
```
|
||||
or if you want the latest master version
|
||||
or if you want the latest develop version
|
||||
```sh
|
||||
composer require phpoffice/phpword:dev-master
|
||||
```
|
||||
|
||||
You can of course also manually edit your composer.json file
|
||||
```json
|
||||
{
|
||||
"require": {
|
||||
"phpoffice/phpword": "v0.18.*"
|
||||
}
|
||||
}
|
||||
composer require phpoffice/phpword:dev-develop
|
||||
```
|
||||
|
||||
## Getting started
|
||||
|
|
|
|||
|
|
@ -28,26 +28,18 @@ You just need to `add dependency <https://getcomposer.org/doc/04-schema.md#packa
|
|||
|
||||
Example:
|
||||
|
||||
.. code-block:: json
|
||||
.. code-block:: bash
|
||||
|
||||
{
|
||||
"require": {
|
||||
"phpoffice/phpword": "v0.18.*"
|
||||
}
|
||||
}
|
||||
composer require phpoffice/phpword
|
||||
|
||||
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.
|
||||
|
||||
Example:
|
||||
|
||||
.. code-block:: json
|
||||
.. code-block:: bash
|
||||
|
||||
{
|
||||
"require": {
|
||||
"phpoffice/phpword": "dev-develop"
|
||||
}
|
||||
}
|
||||
composer require phpoffice/phpword:dev-develop
|
||||
|
||||
Using samples
|
||||
-------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue