https://github.com/masterfermin02/laravel-api-starter-kit
https://github.com/masterfermin02/laravel-api-starter-kit
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/masterfermin02/laravel-api-starter-kit
- Owner: masterfermin02
- Created: 2025-10-27T02:29:37.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-27T02:35:49.000Z (9 months ago)
- Last Synced: 2026-01-13T21:50:13.052Z (6 months ago)
- Language: Blade
- Size: 82 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
```bash
composer create-project fperdomo/laravel-api-starter-kit my-api
```
## Installation
```bash
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