fperdomo/laravel-api-starter-kit
Laravel API Starter Kit with Sanctum and Pest.
1
| Install | |
|---|---|
composer require fperdomo/laravel-api-starter-kit |
|
| Latest Version: | v1.0.0 |
| PHP: | ^8.2 |
| Laravel: | 12 |
| License: | MIT |
| Last Updated: | Oct 27, 2025 |
| Links: | GitHub · Packagist |
Maintainer: masterfermin02
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
Related Packages
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.0.0 | ^8.2 | ^12.0 | MIT |