An open API service indexing awesome lists of open source software.

https://github.com/masterfermin02/laravel-api-starter-kit


https://github.com/masterfermin02/laravel-api-starter-kit

Last synced: 6 months ago
JSON representation

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