Because Sentry's models extends the original Eloquent model, it could not be used with MongoDB. This package includes models that extends Jenssegers\Mongodb\Model
and thus support MongoDB.
Make sure you have jenssegers\mongodb installed before you continue.
Install using composer:
composer require jenssegers/mongodb-sentry
For instructions on Sentry, check out https://cartalyst.com/manual/sentry/installation/laravel-4
To use the included MongoDB-enabled models, change the Sentry configuration model sections:
'groups' => array(
'model' => 'Jenssegers\Mongodb\Sentry\Group',
),
'users' => array(
'model' => 'Jenssegers\Mongodb\Sentry\User',
),
'throttling' => array(
'model' => 'Jenssegers\Mongodb\Sentry\Throttle',
),
Or if you have a custom model, make sure it extends the correct model.