laravel/sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
201,699,224 2,973
Install
composer require laravel/sanctum
Latest Version:v4.3.3
PHP:^8.2
License:MIT
Last Updated:Jul 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

pictastudio/auth

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

41 0
xaamin/sanctum

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

2,884 1
xaamin/lumen-sanctum

Lumen Sanctum provides a featherweight authentication system for SPAs and simple...

6 0
tymon/jwt-auth

JSON Web Token Authentication for Laravel and Lumen

52,761,187 11,493
lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users...

19,288,887 2,338