Commit d6f01136 authored by Jens Segers's avatar Jens Segers

Adding documentation for #354

parent 86294b84
......@@ -78,6 +78,15 @@ You can connect to multiple servers or replica sets with the following configura
),
```
For usage outside Laravel, check out the [Capsule manager](https://github.com/illuminate/database/blob/master/README.md) and add:
```php
$capsule->getDatabaseManager()->extend('mongodb', function($config)
{
return new Jenssegers\Mongodb\Connection($config);
});
```
Eloquent
--------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment