jenssegers / mongodb-sentry
An extension for Laravel-MongoDB that lets you work with Sentry
Installs: 43 822
Dependents: 1
Suggesters: 46
Security: 0
Stars: 54
Watchers: 5
Forks: 13
Open Issues: 5
Requires
- php: >=5.3.0
- cartalyst/sentry: dev-feature/laravel-5
- jenssegers/mongodb: *
This package is auto-updated.
Last update: 2024-10-15 06:39:01 UTC
README
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.
Installation
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
Usage
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.