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

An Opinionated Agent Skill for Building REST APIs in Laravel image

An Opinionated Agent Skill for Building REST APIs in Laravel

Read article
Laravel QuickBooks MCP Server: Connect QuickBooks Online to AI Clients image

Laravel QuickBooks MCP Server: Connect QuickBooks Online to AI Clients

Read article
Kit: An Opinionated API Starter Kit for Laravel image

Kit: An Opinionated API Starter Kit for Laravel

Read article
Automate Laravel Herd Worktrees with This Claude Code Skill image

Automate Laravel Herd Worktrees with This Claude Code Skill

Read article
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
Kirschbaum logo

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum
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
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud
Get expert guidance in a few days with a Laravel code review logo

Get expert guidance in a few days with a Laravel code review

Expert code review! Get clear, practical feedback from two Laravel devs with 10+ years of experience helping teams build better apps.

Get expert guidance in a few days with a Laravel code review
MongoDB logo

MongoDB

Enhance your PHP applications with the powerful integration of MongoDB and Laravel, empowering developers to build applications with ease and efficiency. Support transactional, search, analytics and mobile use cases while using the familiar Eloquent APIs. Discover how MongoDB's flexible, modern database can transform your Laravel applications.

MongoDB