Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Add the service provider in `app/config/app.php`:

'Jenssegers\Mongodb\MongodbServiceProvider',

> **Warning**: be sure to add it after `Illuminate\Database\DatabaseServiceProvider` otherwise you will get `Class db does not exist` error.

The service provider will register a mongodb database extension with the original database manager. There is no need to register additional facades or objects. When using mongodb connections, Laravel will automatically provide you with the corresponding mongodb objects.

Configuration
Expand Down