Skip to content

Commit a126460

Browse files
committed
Better installation instructions
1 parent f13fe17 commit a126460

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,9 @@ Installation
2020

2121
Make sure you have the MongoDB PHP driver installed. You can find installation instructions at http://php.net/manual/en/mongo.installation.php
2222

23-
Add the package to your `composer.json` and run `composer update`.
23+
Install using composer:
2424

25-
{
26-
"require": {
27-
"jenssegers/mongodb": "*"
28-
}
29-
}
25+
composer require jenssegers/mongodb
3026

3127
Add the service provider in `app/config/app.php`:
3228

0 commit comments

Comments
 (0)