Laravel Sanctum Starter Kit screenshot

Laravel Sanctum Starter Kit

Author Avatar Theme by Eliseekn
Updated: 16 Dec 2025
25 Stars

An opinionated starter kit for RESTful API development with Laravel Sanctum.

Categories

Overview

The Starter Kit for Laravel Sanctum is an opinionated Laravel starter kit specifically designed for RESTful API development with Sanctum. It provides a set of features and guidelines to quickly set up a Laravel project for API development.

Features

  • Login: Allows users to log in to the application.
  • Registration: Provides a registration functionality for new users to create an account.
  • Email Verification: Includes email verification to ensure valid user accounts.
  • Password Reset: Allows users to reset their passwords if forgotten.
  • Users Management: Provides functionality for managing user accounts.

Installation

To install the Starter Kit for Laravel Sanctum, follow these steps:

  1. Add the front-end URL to the .env file.
  2. Edit the boot method in AuthServiceProvider.php file to ensure that your front-end endpoints are correct.
  3. Set up your mail server.
  4. Run PHPUnit tests for testing.
  5. Import the Laravel Sanctum Starter Kit.postman_collection.json file to Postman for API testing.
  6. Refer to the documentation for further details.
  7. Run php artisan serve command and open http://127.0.0.1:8000/docs in your browser to access the API documentation.

Summary

The Starter Kit for Laravel Sanctum is a convenient starting point for developers who want to build RESTful APIs using Laravel and Sanctum. It provides essential features such as authentication, registration, email verification, password reset, and users management. The installation process includes steps to configure the application and set up the required dependencies.