Skip to content

Commit a481736

Browse files
committed
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).
1 parent 0ccc03e commit a481736

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tutorial/install-php-library.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ root:
3333

3434
.. code-block:: sh
3535

36-
composer require "mongodb/mongodb=^1.0.0"
36+
composer require mongodb/mongodb
3737

3838
While not recommended, you may also manually install the package via
3939
the source tarballs attached to the `GitHub releases

0 commit comments

Comments
 (0)