Laravel Cloud is here! Zero-config managed infrastructure for Laravel apps. Deploy now.

Sanctum

laravel/sanctum image

Sanctum stats

Downloads
56.7M
Stars
2,588
Open Issues
0
Forks
268

View on GitHub →

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.

Laravel Sanctum

Laravel Sanctum offers a lightweight authentication solution perfect for Single Page Applications (SPAs) and simple APIs. Ideal for developers needing a straightforward and effective way to handle authentication without the bloat of larger systems.

Key Features:

  • Simple Setup: Easy to integrate with Laravel, making it less time-consuming to add to your project.
  • SPA Friendly: Specifically designed to handle authentication for SPAs smoothly.
  • API Support: Also caters to simple API authentication, providing secure access to your API endpoints.

Installation & Usage:

Installation is straightforward via Composer. You can find detailed installation and usage instructions on the Laravel website.

Contributing:

Contributions are welcome! Check out the contribution guidelines on the Laravel documentation to get started.

Security:

For security vulnerability reporting, visit Laravel Sanctum's security policy.

License:

Laravel Sanctum is available under the MIT license, allowing the freedom to use and modify the software as needed.

For developers looking for an efficient and easy-to-implement authentication system, Laravel Sanctum is an excellent choice, combining simplicity with powerful features for both SPAs and APIs.

laravel photo

Laravel is a web ecosystem full of delightful tools that are supercharged for developer happiness and productivity.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Laravel Sanctum Related Articles

Laravel launches an OSS Advent Calendar image

Laravel launches an OSS Advent Calendar

Read article
Build Production-ready APIs in Laravel with Tyro image

Build Production-ready APIs in Laravel with Tyro

Read article
Send Notifications in Laravel with Firebase Cloud Messaging and Notifire image

Send Notifications in Laravel with Firebase Cloud Messaging and Notifire

Read article
Documenting API authentication in Laravel with Scramble image

Documenting API authentication in Laravel with Scramble

Read article
Token Forge - API Token Management with Laravel Breeze image

Token Forge - API Token Management with Laravel Breeze

Read article
Nuxt 3 + Laravel Sanctum Authentication: Secure Your SPA and API with Ease image

Nuxt 3 + Laravel Sanctum Authentication: Secure Your SPA and API with Ease

Read article
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Curotec logo

Curotec

World class Laravel experts with GenAI dev skills. LATAM-based, embedded engineers that ship fast, communicate clearly, and elevate your product. No bloat, no BS.

Curotec
Cut PHP Code Review Time & Bugs into Half with CodeRabbit logo

Cut PHP Code Review Time & Bugs into Half with CodeRabbit

CodeRabbit is an AI-powered code review tool that specializes in PHP and Laravel, running PHPStan and offering automated PR analysis, security checks, and custom review features while remaining free for open-source projects.

Cut PHP Code Review Time & Bugs into Half with CodeRabbit
Bacancy logo

Bacancy

Supercharge your project with a seasoned Laravel developer with 4-6 years of experience for just $3200/month. Get 160 hours of dedicated expertise & a risk-free 15-day trial. Schedule a call now!

Bacancy
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum