# cartalyst/sentinel

A framework agnostic authentication & authorization system.

Repository: https://github.com/cartalyst/sentinel
Canonical: https://ross.abutalabs.com/products/cartalyst-sentinel
Language: PHP
License: BSD-3-Clause
License Family: permissive
Topics: php, cartalyst, sentinel, authentication, auth, authorization, permissions, roles, laravel, security, agnostic
Last push: 2026-06-03T14:21:57+00:00

## Health v2 (maintenance only)
Score: 61/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 85, release rhythm 8, longevity 100
- inputs: {"age_days": 4473, "days_push": 91, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1526, forks 245 (observed 2026-08-28T04:04:58.380529+00:00)

## What it is
Sentinel is a PHP 8.3+ framework-agnostic authentication and authorization library by Cartalyst. It provides user authentication, roles, permissions, and additional security features, with tight Laravel integration.

## Use cases
- add login and registration to a PHP application
- manage user roles and permissions
- implement authentication in a Laravel project without Laravel's built-in auth
- add password reset and account activation flows
- control access to resources based on user permissions

## When to avoid
- you are not using PHP
- you prefer Laravel's built-in authentication scaffolding
- you need OAuth/social login out of the box

## Facets
- artifact type: library
- maturity: active
- function: auth, authorization, security
- domain: security, web-development, backend
- platform: php, self-hosted
- tags: roles, permissions, laravel, framework-agnostic, user-management

## Member repositories
- cartalyst/sentinel (main) score 61

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:58.380529+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:36.392372+00:00, confidence not recorded.
  - readme: https://github.com/cartalyst/sentinel (fetched 2026-08-28T04:04:58.380529+00:00, sha 1f2963fd99d0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
