PHPackages                             rojtjo/sentinel-guard - 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. rojtjo/sentinel-guard

ActiveLibrary

rojtjo/sentinel-guard
=====================

0.5.0(5y ago)02.4k2[1 issues](https://github.com/rojtjo/sentinel-guard/issues)MITPHPPHP ^7.3

Since Mar 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/rojtjo/sentinel-guard)[ Packagist](https://packagist.org/packages/rojtjo/sentinel-guard)[ Docs](https://github.com/rojtjo/sentinel-guard)[ RSS](/packages/rojtjo-sentinel-guard/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (0)

sentinel-guard
==============

[](#sentinel-guard)

[![Latest Version on Packagist](https://camo.githubusercontent.com/432491ae49c55e72f81a814e3da5cec8156d43a3f39c019a1be93d89fe1d1e8b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726f6a746a6f2f73656e74696e656c2d67756172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rojtjo/sentinel-guard)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/156c9363348ce25c80d405b5c13cd6a6cfaccccd6b8c846ca5a366d63aa5e0ae/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f526f6a746a6f2f73656e74696e656c2d67756172642f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Rojtjo/sentinel-guard)[![Coverage Status](https://camo.githubusercontent.com/96265961e4aeaea6e6bfb6f0c19655e90be05602e26ed002ef7dbfa574b219d7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f726f6a746a6f2f73656e74696e656c2d67756172642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rojtjo/sentinel-guard/code-structure)[![Quality Score](https://camo.githubusercontent.com/edd3cdbcfb9604121b59dcfadd38bc2c3363be14354b99feb018b3d303a1cf19/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726f6a746a6f2f73656e74696e656c2d67756172642e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/rojtjo/sentinel-guard)[![Total Downloads](https://camo.githubusercontent.com/8f1099517b1bb512aa3bbff854c42e5bf8d6641cf4717aefbe3c9c8a33b4ab30/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726f6a746a6f2f73656e74696e656c2d67756172642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rojtjo/sentinel-guard)

This package implements the `Illuminate\Contracts\Auth\StatefulGuard` interface using Sentinel.

Install
-------

[](#install)

Via Composer

```
$ composer require rojtjo/sentinel-guard
```

Install the service provider:

```
// config/app.php

'providers' => [
    ...
    Rojtjo\SentinelGuard\SentinelGuardServiceProvider::class,
],

```

Configure the guard:

```
// config/auth.php

[
    'guards' => [
        'web' => [
            'driver' => 'sentinel',
            'provider' => 'users',
        ],
    ],
];
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Roj Vroemen](https://github.com/Rojtjo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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 ~318 days

Total

5

Last Release

2062d ago

PHP version history (4 changes)0.1.0PHP ~5.6|~7.0

0.2.0PHP ~7.1

0.4.0PHP ^7.2

0.5.0PHP ^7.3

### Community

Maintainers

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

---

Top Contributors

[![rojtjo](https://avatars.githubusercontent.com/u/1123887?v=4)](https://github.com/rojtjo "rojtjo (18 commits)")

---

Tags

rojtjosentinel-guard

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/rojtjo-sentinel-guard/health.svg)

```
[![Health](https://phpackages.com/badges/rojtjo-sentinel-guard/health.svg)](https://phpackages.com/packages/rojtjo-sentinel-guard)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M344](/packages/tymon-jwt-auth)[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M528](/packages/laravel-passport)[silber/bouncer

Eloquent roles and abilities.

3.6k4.4M25](/packages/silber-bouncer)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M52](/packages/php-open-source-saver-jwt-auth)

PHPackages © 2026

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