PHPackages                             itsmill3rtime/sanctum - 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. itsmill3rtime/sanctum

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

itsmill3rtime/sanctum
=====================

Laravel Sanctum modded for MongoDB support.

v2.14.2(4y ago)0325MITPHPPHP ^7.2|^8.0

Since Jan 20Pushed 4y agoCompare

[ Source](https://github.com/itsmill3rtime/sanctum)[ Packagist](https://packagist.org/packages/itsmill3rtime/sanctum)[ RSS](/packages/itsmill3rtime-sanctum/feed)WikiDiscussions 2.x Synced 4w ago

READMEChangelog (2)Dependencies (6)Versions (45)Used By (0)

[![Logo Laravel Sanctum](/art/logo.svg)](/art/logo.svg)

[![Build Status](https://github.com/laravel/sanctum/workflows/tests/badge.svg)](https://github.com/laravel/sanctum/actions)[![Total Downloads](https://camo.githubusercontent.com/de403679cb5e234c7c488af618d48576387c8dfb364a05531d9bb8669bae8105/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2f73616e6374756d)](https://packagist.org/packages/laravel/sanctum)[![Latest Stable Version](https://camo.githubusercontent.com/80628206ca61d128b62b0d3f966e2e4bb1d726a485ae82e814f2091631466458/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2f73616e6374756d)](https://packagist.org/packages/laravel/sanctum)[![License](https://camo.githubusercontent.com/f81b88375b503bc3509f8259e85f3a461dd67c8862923708ada1b87f50c62822/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c61726176656c2f73616e6374756d)](https://packagist.org/packages/laravel/sanctum)

Introduction
------------

[](#introduction)

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.

Official Documentation
----------------------

[](#official-documentation)

Documentation for Sanctum can be found on the [Laravel website](https://laravel.com/docs/sanctum).

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

[](#contributing)

Thank you for considering contributing to Sanctum! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/laravel/sanctum/security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

Laravel Sanctum is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~7 days

Total

44

Last Release

1576d ago

Major Versions

v0.2.1 → v1.0.02020-03-03

1.x-dev → v2.0.02020-03-20

PHP version history (2 changes)v0.1.0PHP ^7.2

v2.8.0PHP ^7.2|^8.0

### Community

Maintainers

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

---

Top Contributors

[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (97 commits)")[![driesvints](https://avatars.githubusercontent.com/u/594614?v=4)](https://github.com/driesvints "driesvints (77 commits)")[![RahulDey12](https://avatars.githubusercontent.com/u/26340814?v=4)](https://github.com/RahulDey12 "RahulDey12 (12 commits)")[![doekenorg](https://avatars.githubusercontent.com/u/529515?v=4)](https://github.com/doekenorg "doekenorg (6 commits)")[![amaelftah](https://avatars.githubusercontent.com/u/17250137?v=4)](https://github.com/amaelftah "amaelftah (4 commits)")[![richardkeep](https://avatars.githubusercontent.com/u/3874381?v=4)](https://github.com/richardkeep "richardkeep (3 commits)")[![stevenbdf](https://avatars.githubusercontent.com/u/35903969?v=4)](https://github.com/stevenbdf "stevenbdf (2 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (2 commits)")[![ahme-d](https://avatars.githubusercontent.com/u/9767569?v=4)](https://github.com/ahme-d "ahme-d (2 commits)")[![eliurkis](https://avatars.githubusercontent.com/u/59236?v=4)](https://github.com/eliurkis "eliurkis (2 commits)")[![dshoreman](https://avatars.githubusercontent.com/u/1521802?v=4)](https://github.com/dshoreman "dshoreman (2 commits)")[![filippofortino](https://avatars.githubusercontent.com/u/24780782?v=4)](https://github.com/filippofortino "filippofortino (2 commits)")[![itsmill3rtime](https://avatars.githubusercontent.com/u/2539808?v=4)](https://github.com/itsmill3rtime "itsmill3rtime (2 commits)")[![dellow](https://avatars.githubusercontent.com/u/1047476?v=4)](https://github.com/dellow "dellow (2 commits)")[![rjchauhan](https://avatars.githubusercontent.com/u/8499250?v=4)](https://github.com/rjchauhan "rjchauhan (2 commits)")[![lukadriel7](https://avatars.githubusercontent.com/u/10757342?v=4)](https://github.com/lukadriel7 "lukadriel7 (2 commits)")[![tpetry](https://avatars.githubusercontent.com/u/315686?v=4)](https://github.com/tpetry "tpetry (1 commits)")[![devmsh](https://avatars.githubusercontent.com/u/9499808?v=4)](https://github.com/devmsh "devmsh (1 commits)")[![kevinpijning](https://avatars.githubusercontent.com/u/2886081?v=4)](https://github.com/kevinpijning "kevinpijning (1 commits)")[![leemcd56](https://avatars.githubusercontent.com/u/1885663?v=4)](https://github.com/leemcd56 "leemcd56 (1 commits)")

---

Tags

laravelauthsanctum

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/itsmill3rtime-sanctum/health.svg)

```
[![Health](https://phpackages.com/badges/itsmill3rtime-sanctum/health.svg)](https://phpackages.com/packages/itsmill3rtime-sanctum)
```

###  Alternatives

[tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

11.5k49.1M344](/packages/tymon-jwt-auth)[php-open-source-saver/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

8359.8M52](/packages/php-open-source-saver-jwt-auth)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2011.0k](/packages/alajusticia-laravel-logins)[mpyw/scoped-auth

Apply specific scope for user authentication.

1180.5k](/packages/mpyw-scoped-auth)[setiawanhu/sanctum-auth

Laravel package for generating user authentication feature using Laravel Sanctum

132.8k](/packages/setiawanhu-sanctum-auth)

PHPackages © 2026

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