We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8304a46 commit 9d02f23Copy full SHA for 9d02f23
README.md
@@ -22,12 +22,18 @@ Installation
22
23
Make sure you have the MongoDB PHP driver installed. You can find installation instructions at http://php.net/manual/en/mongo.installation.php
24
25
-Install using composer:
+For Laravel 5, install the latest stable version using composer:
26
27
```json
28
composer require jenssegers/mongodb
29
```
30
31
+For Laravel 4.2, use version `~2.0`:
32
+
33
+```json
34
+composer require jenssegers/mongodb ~2.0
35
+```
36
37
Add the service provider in `app/config/app.php`:
38
39
```php
0 commit comments