From c74b6432cb0d5cd456c8c52085148d99bf6113b3 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola <jmikola@gmail.com> Date: Mon, 19 Dec 2016 15:01:54 -0500 Subject: [PATCH] Remove library version from Composer install examples By default, Composer installs the most recent stable version and declares a requirement with the caret operator (allowing any newer versions up to but not including the next major version). --- CONTRIBUTING.md | 2 +- README.md | 2 +- docs/tutorial/install-php-library.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fb8f955..f8ab011 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -142,7 +142,7 @@ https://jira.mongodb.org/secure/CreateIssue.jspa?pid=12483&issuetype=1 This library may be installed or upgraded with: - composer require "mongodb/mongodb=^1.0.0" + composer require mongodb/mongodb Installation instructions for the PHP and HHVM driver may be found in the [PHP.net documentation](http://php.net/manual/en/mongodb.installation.php). ``` diff --git a/README.md b/README.md index dfcc028..90bd8d8 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ The preferred method of installing this library is with [Composer](https://getcomposer.org/) by running the following from your project root: - $ composer require "mongodb/mongodb=^1.0.0" + $ composer require mongodb/mongodb ## Reporting Issues diff --git a/docs/tutorial/install-php-library.txt b/docs/tutorial/install-php-library.txt index 39f5724..74cf0e4 100644 --- a/docs/tutorial/install-php-library.txt +++ b/docs/tutorial/install-php-library.txt @@ -33,7 +33,7 @@ root: .. code-block:: sh - composer require "mongodb/mongodb=^1.0.0" + composer require mongodb/mongodb While not recommended, you may also manually install the package via the source tarballs attached to the `GitHub releases -- 2.18.1