Commit 5479935c authored by Jens Segers's avatar Jens Segers

Readme

parent f575d181
...@@ -10,7 +10,7 @@ For more information about Eloquent, check http://laravel.com/docs/eloquent. ...@@ -10,7 +10,7 @@ For more information about Eloquent, check http://laravel.com/docs/eloquent.
Installation Installation
------------ ------------
Add the package to your `composer.json` or install manually. Add the package to your `composer.json` and run `composer update`.
{ {
"require": { "require": {
...@@ -18,13 +18,11 @@ Add the package to your `composer.json` or install manually. ...@@ -18,13 +18,11 @@ Add the package to your `composer.json` or install manually.
} }
} }
Run `composer update` to download and install the package.
Add the service provider in `app/config/app.php`: Add the service provider in `app/config/app.php`:
'Jenssegers\Mongodb\MongodbServiceProvider', 'Jenssegers\Mongodb\MongodbServiceProvider',
Add an alias for the query builder, you can change this alias to your own preference: Add an alias for the database manager, you can change this alias to your own preference:
'MDB' => 'Jenssegers\Mongodb\Facades\DB', 'MDB' => 'Jenssegers\Mongodb\Facades\DB',
......
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