Laravel Sanctum
Laravel package that authenticates single page applications, mobile applications and token-based APIs.
laravel.com/framework/docs/sanctumrepositorydocs
Laravel Sanctum authenticates single page applications, mobile applications and token-based APIs. According to the Laravel documentation it issues API tokens without the complication of OAuth, stores them in a single database table, and can attach abilities to each token. For single page applications it issues no tokens and uses Laravel’s built-in cookie-based session authentication services instead.
Identity
- Status
- Active
- Maintainer
- Taylor Otwell3
- Maintained by
- Individual3
- First release
- 20206
Rendering and deploy
- Install with
- php artisan install:api1
Releases
Adoption
Sources
- 2026-11-16: name, links, Categories, Install with
laravel.com/framework/docs/sanctum - 2026-11-16: links, Written in, License, GitHub stars
api.github.com/repos/laravel/sanctum - 2026-11-16: Maintainer, Maintained by, License model
raw.githubusercontent.com/laravel/sanctum/4.x/LICENSE.md - 2026-11-16: Runtime, Minimum runtime
raw.githubusercontent.com/laravel/sanctum/v4.4.0/composer.json - 2026-11-16: Current major version, Last release
api.github.com/repos/laravel/sanctum/releases/latest - 2026-11-16: First release
repo.packagist.org/p2/laravel/sanctum.json - 2026-11-16: Contributors
api.github.com/repos/laravel/sanctum/contributors?per_page=1 - 2026-11-16: Packagist downloads
packagist.org/packages/laravel/sanctum.json - 2026-11-16: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/laravel%2Fsanctum