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 c4a5264 commit 771ee7aCopy full SHA for 771ee7a
README.md
@@ -143,6 +143,18 @@ You can connect to multiple servers or replica sets with the following configura
143
],
144
```
145
146
+Alternatively, you can use MongoDB connection string:
147
+
148
+```php
149
+'mongodb' => [
150
+ 'driver' => 'mongodb',
151
+ 'dsn' => env('DB_DSN'),
152
+ 'database' => env('DB_DATABASE'),
153
+],
154
+```
155
156
+Please refer to MongoDB official docs for its URI format: https://docs.mongodb.com/manual/reference/connection-string/
157
158
Eloquent
159
--------
160
0 commit comments