laravel/sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
226,803,221 2,986
Install
composer require laravel/sanctum
Latest Version:v4.3.3
PHP:^8.2
Laravel:11 · 12 · 13
Older releases:6 – 10
License:MIT
Last Updated:Oct 14, 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

d076/sanctum-refresh-tokens

Refresh token realization for laravel sanctum

6,281 6
xaamin/sanctum

Laravel/Lumen Sanctum provides a featherweight authentication system for SPAs an...

3,337 1
setiawanhu/sanctum-auth

Laravel package for generating user authentication feature using Laravel Sanctum

2,811 13
mocode/sanctum-mongodb

Laravel Sanctum Mongodb provides a featherweight authentication system for SPAs...

1,944 2
masim-appcrates/laravel-authentication

My Custome Laravel Authentication

6 0

Version History

Version Released PHP Laravel License
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
v4.3.0 ^8.2 ^11.0|^12.0 MIT
v4.2.4 ^8.2 ^11.0|^12.0 MIT