jenssegers / laravel-mongodb-sentry by jenssegers

An extension for Laravel-MongoDB that lets you work with Sentry
40,077
54
5
Package Data
Maintainer Username: jenssegers
Package Create Date: 2014-04-06
Package Last Update: 2019-11-17
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-17 15:04:41
Package Statistics
Total Downloads: 40,077
Monthly Downloads: 626
Daily Downloads: 21
Total Stars: 54
Total Watchers: 5
Total Forks: 14
Total Open Issues: 6

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.