Looking to hire Laravel developers? Try LaraJobs

laravel-api-starter-kit maintained by fperdomo

Description
Laravel API Starter Kit with Sanctum and Pest.
Last update
2025/10/27 03:35 (dev-main)
License
Links
Downloads
1

Comments
comments powered by Disqus

Laravel API Starter Kit 🚀

A clean, versioned API boilerplate using Laravel, Sanctum, Spatie Data, and Pest.

Features

  • Laravel 12 / PHP 8.3
  • Sanctum token auth
  • Spatie Data DTOs
  • Pest tests
  • JSON responses

Composer Installation

composer create-project fperdomo/laravel-api-starter-kit my-api

Installation

git clone https://github.com/masterfermin02/laravel-api-starter-kit.git my-api
cd my-api
cp .env.example .env
composer install
php artisan key:generate
php artisan migrate
php artisan serve

API Routes

GET /api/v1/auth/me POST /api/v1/auth/login POST /api/v1/auth/logout