laravel/sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
220,492,575 2,986
Install
composer require laravel/sanctum
Latest Version:v4.3.3
PHP:^8.2
License:MIT
Last Updated:Sep 28, 2026
Links: GitHub  ·  Packagist
Maintainer: taylorotwell

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

5,810 6
setiawanhu/sanctum-auth

Laravel package for generating user authentication feature using Laravel Sanctum

2,810 13
xaamin/sanctum

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

3,197 1
pictastudio/auth

Opinionated API authentication and authorization package for Laravel Sanctum wit...

48 0
coderstm/laravel-core

Laravel Core package that provides essential core functionalities and utilities...

2,299 0