PHPackages                             lamarus/sentry-driver - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. lamarus/sentry-driver

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

lamarus/sentry-driver
=====================

An auth driver for Laravel 4 and Sentry 2

0.6(12y ago)258MITPHPPHP &gt;=5.3.0

Since Dec 29Pushed 12y ago1 watchersCompare

[ Source](https://github.com/bretterer/sentry-laravel-driver)[ Packagist](https://packagist.org/packages/lamarus/sentry-driver)[ RSS](/packages/lamarus-sentry-driver/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

An auth driver for Laravel 4 and Sentry 2
=========================================

[](#an-auth-driver-for-laravel-4-and-sentry-2)

This is a provider for adding a sentry driver to your auth system for laravel 4.
[![endorse](https://camo.githubusercontent.com/f45c125b12d6764cea46c2d52fb2f3d3326c1334a4769e27e6bd7b14465f5623/68747470733a2f2f6170692e636f64657277616c6c2e636f6d2f6272657474657265722f656e646f727365636f756e742e706e67)](https://coderwall.com/bretterer)

Installation
------------

[](#installation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `lamarus/sentry-driver`.

"require": { "lamarus/sentry-driver": "dev-master" }, "minimum-stability" : "dev"

Next, update Composer from the Terminal:

```
composer update

```

Once you have added your configuration, add the service provider. Open `app/config/app.php`, and add a new item to the providers array.

```
'Lamarus\SentryDriver\SentryDriverServiceProvider'

```

The final step is to change your auth driver. Open `app/config/auth.php`, and change the driver to `sentry`

Usage
-----

[](#usage)

This driver replacement has been created to make it easy to replace the current auth. All the commands are the same and are used just like the current way.

### Examples

[](#examples)

```
Route::get('login/once', function() {
   if(Auth::once(['email'=>'test@gmail.com', 'password'=>'test'])) {
    return Redirect::to('check');
  } else {
    return Redirect::to('error');
  }
});

Route::get('login/remember', function() {

   if(Auth::attempt(['email'=>'test@gmail.com', 'password'=>'test'], true)) {
    return Redirect::to('check');
  } else {
    return Redirect::to('error');
  }
});

Route::get('login/{id}', function($id) {
  Auth::loginUsingId($id);
});

Route::get('login', function() {
  if(Auth::attempt(['email'=>'test@gmail.com', 'password'=>'test'])) {
    return Redirect::to('check');
  } else {
    return Redirect::to('error');
  }
});

Route::get('logout', function() {
  var_dump(Auth::logout());
});

Route::get('check', function() {

  if(Auth::check()) {
    print Auth::user()->email . '';
  }

  var_dump(Auth::check());
});

Route::get('error', function() {
  print_r(Session::get('SentryException'));
});

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~41 days

Total

2

Last Release

4525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1d1ced324a1671b1814017525fde4873faa1d7c5c29c4fd766e77bf376b6aff?d=identicon)[bretterer](/maintainers/bretterer)

---

Top Contributors

[![bretterer](https://avatars.githubusercontent.com/u/1906920?v=4)](https://github.com/bretterer "bretterer (7 commits)")

### Embed Badge

![Health badge](/badges/lamarus-sentry-driver/health.svg)

```
[![Health](https://phpackages.com/badges/lamarus-sentry-driver/health.svg)](https://phpackages.com/packages/lamarus-sentry-driver)
```

###  Alternatives

[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5752.2M17](/packages/directorytree-ldaprecord-laravel)[illuminate/auth

The Illuminate Auth package.

9327.9M1.2k](/packages/illuminate-auth)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6783.6k5](/packages/hasinhayder-tyro)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1542.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
