PHPackages                             zainaldeen/sanctum-refresh-token - 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. zainaldeen/sanctum-refresh-token

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

zainaldeen/sanctum-refresh-token
================================

Provide refresh token for Laravel Sanctum wich provides a featherweight authentication system for SPAs and simple APIs.

27PHP

Since Jul 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zainaldeen/sanctum-refresh-token)[ Packagist](https://packagist.org/packages/zainaldeen/sanctum-refresh-token)[ RSS](/packages/zainaldeen-sanctum-refresh-token/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (1)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

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3644d7ba573149165f275330c18a3eff63fcdad0082fcb5f2c54fbf487a23c18?d=identicon)[zainaldeen](/maintainers/zainaldeen)

---

Top Contributors

[![taylorotwell](https://avatars.githubusercontent.com/u/463230?v=4)](https://github.com/taylorotwell "taylorotwell (93 commits)")[![driesvints](https://avatars.githubusercontent.com/u/594614?v=4)](https://github.com/driesvints "driesvints (63 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)")[![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)")[![stevenbdf](https://avatars.githubusercontent.com/u/35903969?v=4)](https://github.com/stevenbdf "stevenbdf (2 commits)")[![dshoreman](https://avatars.githubusercontent.com/u/1521802?v=4)](https://github.com/dshoreman "dshoreman (2 commits)")[![themsaid](https://avatars.githubusercontent.com/u/4332182?v=4)](https://github.com/themsaid "themsaid (2 commits)")[![zainaldeen](https://avatars.githubusercontent.com/u/48657261?v=4)](https://github.com/zainaldeen "zainaldeen (2 commits)")[![lukadriel7](https://avatars.githubusercontent.com/u/10757342?v=4)](https://github.com/lukadriel7 "lukadriel7 (2 commits)")[![eliurkis](https://avatars.githubusercontent.com/u/59236?v=4)](https://github.com/eliurkis "eliurkis (2 commits)")[![rennokki](https://avatars.githubusercontent.com/u/21983456?v=4)](https://github.com/rennokki "rennokki (1 commits)")[![alexjose](https://avatars.githubusercontent.com/u/194099?v=4)](https://github.com/alexjose "alexjose (1 commits)")[![zaratedev](https://avatars.githubusercontent.com/u/29809845?v=4)](https://github.com/zaratedev "zaratedev (1 commits)")[![bambamboole](https://avatars.githubusercontent.com/u/8823695?v=4)](https://github.com/bambamboole "bambamboole (1 commits)")[![bencomeau](https://avatars.githubusercontent.com/u/10427571?v=4)](https://github.com/bencomeau "bencomeau (1 commits)")[![canvural](https://avatars.githubusercontent.com/u/1574232?v=4)](https://github.com/canvural "canvural (1 commits)")

### Embed Badge

![Health badge](/badges/zainaldeen-sanctum-refresh-token/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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