Skip to content

omtvn/mongodb-sentry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel MongoDB Sentry

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.

About

An extension for Laravel-MongoDB that lets you work with Sentry

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%