New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

laravel/sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
249,895,703 2,988

Larablocks Analysis

Compatibility

Official Laravel package

laravel/sanctum works with Laravel 12 and 13 (latest release v4.5.0, Nov 11, 2026).

Laravel 6 to 11 in earlier releases.

  • Official Laravel package: published by the Laravel team.

Recommendation checks

Recommended

Recommended by Larablocks: meets all 4 checks.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Nov 11, 2026)
  • 16,489,308 downloads a month (at least 10,000)
  • 2,988 GitHub stars (at least 100)

State

Actively maintained
  • Last stable release: Nov 11, 2026.
  • 9 releases in the last 12 months.
  • First released: Jan 20, 2020.
  • Monthly downloads: 16,489,308, up 151% from six months ago.
  • 4 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require laravel/sanctum
Latest Version:v4.5.0
PHP:^8.2
Laravel:12 · 13
Older releases:6 – 11
License:MIT
Last Updated:Nov 17, 2026
Links: GitHub  ·  Packagist
Maintainer: taylorotwell

Logo Laravel Sanctum

Build Status Total Downloads Latest Stable Version License

Introduction

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

Official Documentation

Documentation for Sanctum can be found on the Laravel website.

Contributing

Thank you for considering contributing to Sanctum! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel Sanctum is open-sourced software licensed under the MIT license.

Related Packages

masim-appcrates/laravel-authentication

My Custome Laravel Authentication

6 0
usmonaliyev/redium

A high-performance laravel auth package powered by redis, inspired by sanctum.

1,023 5
jurager/tracker

Track Sanctum tokens in Laravel.

1,005 1
laravel/fortify

Backend controllers and scaffolding for Laravel authentication.

81,524,792 1,764
laravel/breeze

Minimal Laravel authentication scaffolding with Blade and Tailwind.

48,288,134 3,057

Version History

Version Released PHP Laravel License
v4.5.0 ^8.2 ^12.0|^13.0 MIT
v4.4.0 ^8.2 ^11.0|^12.0|^13.0 MIT
v4.3.3 ^8.2 ^11.0|^12.0|^13.0 MIT
v4.3.2 ^8.2 ^11.0|^12.0|^13.0 MIT
v4.3.1 ^8.2 ^11.0|^12.0|^13.0 MIT