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 86294b8 commit d6f0113Copy full SHA for d6f0113
README.md
@@ -78,6 +78,15 @@ You can connect to multiple servers or replica sets with the following configura
78
),
79
```
80
81
+For usage outside Laravel, check out the [Capsule manager](https://github.com/illuminate/database/blob/master/README.md) and add:
82
+
83
+```php
84
+$capsule->getDatabaseManager()->extend('mongodb', function($config)
85
+{
86
+ return new Jenssegers\Mongodb\Connection($config);
87
+});
88
+```
89
90
Eloquent
91
--------
92
0 commit comments