From a49618f2484a5e76266aa110509ac2803089ef48 Mon Sep 17 00:00:00 2001 From: Adrien Crivelli Date: Fri, 16 Sep 2022 14:23:58 +0200 Subject: [PATCH] Don't hardcode version number in documentation --- README.md | 15 +++------------ docs/installing.rst | 16 ++++------------ 2 files changed, 7 insertions(+), 24 deletions(-) diff --git a/README.md b/README.md index 1e81c2b9..3d84ad74 100644 --- a/README.md +++ b/README.md @@ -76,20 +76,11 @@ To [add a dependency](https://getcomposer.org/doc/04-schema.md#package-links) to Run the following to use the latest stable version ```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 - 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 diff --git a/docs/installing.rst b/docs/installing.rst index 082c60bc..4f3c3a2a 100644 --- a/docs/installing.rst +++ b/docs/installing.rst @@ -28,26 +28,18 @@ You just need to `add dependency