laravel/sanctum
Larablocks Analysis
Compatibility
Official Laravel packagelaravel/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
RecommendedRecommended 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 |
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
A high-performance laravel auth package powered by redis, inspired by sanctum.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v4.5.0 | ^8.2 | ^12.0| | MIT | |
| v4.4.0 | ^8.2 | ^11.0| | MIT | |
| v4.3.3 | ^8.2 | ^11.0| | MIT | |
| v4.3.2 | ^8.2 | ^11.0| | MIT | |
| v4.3.1 | ^8.2 | ^11.0| | MIT | |
| v4.3.0 | ^8.2 | ^11.0| | MIT | |
| v4.2.4 | ^8.2 | ^11.0| | MIT | |
| v4.2.3 | ^8.2 | ^11.0| | MIT | |
| v4.2.2 | ^8.2 | ^11.0| | MIT | |
| v4.2.1 | ^8.2 | ^11.0| | MIT | |
| v4.2.0 | ^8.2 | ^11.0| | MIT | |
| v4.1.2 | ^8.2 | ^11.0| | MIT | |
| v4.1.1 | ^8.2 | ^11.0| | MIT | |
| v4.1.0 | ^8.2 | ^11.0| | MIT | |
| v4.0.8 | ^8.2 | ^11.0| | MIT | |
| v4.0.7 | ^8.2 | ^11.0 | MIT | |
| v4.0.6 | ^8.2 | ^11.0 | MIT | |
| v4.0.5 | ^8.2 | ^11.0 | MIT | |
| v4.0.4 | ^8.2 | ^11.0 | MIT | |
| v4.0.3 | ^8.2 | ^11.0 | MIT | |
| v4.0.2 | ^8.2 | ^11.0 | MIT | |
| v4.0.1 | ^8.2 | ^11.0 | MIT | |
| v4.0.0 | ^8.2 | ^11.0 | MIT | |
| v3.3.3 | ^8.0.2 | ^9.21| | MIT | |
| v3.3.2 | ^8.0.2 | ^9.21| | MIT | |
| v3.3.1 | ^8.0.2 | ^9.21| | MIT | |
| v3.3.0 | ^8.0.2 | ^9.21| | MIT | |
| v3.2.6 | ^8.0.2 | ^9.21| | MIT | |
| v3.2.5 | ^8.0.2 | ^9.21| | MIT | |
| v3.2.4 | ^8.0.2 | ^9.21| | MIT |
Showing the latest 30 of 81. See every release on Packagist