Laravel API Boilerplate
Open Source2024

Laravel API Boilerplate

Production-ready Laravel 11 API starter kit with Sanctum auth, RBAC, rate limiting, Telescope, PHPUnit test suite, and Docker setup.

An opinionated Laravel 11 API boilerplate designed to be cloned and shipped within a day. Comes pre-configured with Sanctum token authentication, Spatie role/permission system, rate limiting per route, comprehensive PHPUnit test suite, and a Docker Compose setup for local development. The goal was to eliminate the repetitive setup work that starts every new API project.
Laravel API Boilerplate
  • Sanctum token authentication out of the box
  • Role-based access control via Spatie
  • Rate limiting configured per route group
  • Full PHPUnit test suite with factories
  • Docker Compose for local dev
  • Telescope for request/job debugging
100%Test Coverage
10+API Endpoints
< 1 dayTime to Ship
0Config Needed
LaravelSanctumPHPUnitDockerRedisSpatie Permissions
All Projects