Back to Templates
Laravel

Laravel 11 Starter with Pest, Pint, PHPStan, Sail & Docker

Laravel 11 with Pest, Pint, PHPStan, and Sail

terminal
npx setupkaro init my-app --template laravel
Zero installNo telemetryMIT License

What's Included

  • Laravel 11 (PHP 8.2+) — latest LTS
  • Pest 3 + Pest Laravel plugin (parallel testing, coverage)
  • Pint (Laravel preset) for code formatting
  • PHPStan level 5 with Larastan for static analysis
  • Laravel Sail for local Docker development
  • FrankenPHP Dockerfile (worker mode, Octane-compatible) for production
  • docker-compose.yml (Postgres, Redis, Meilisearch, Mailpit)
  • GitHub Actions: pint → phpstan → pest → build
  • Generated README with Sail commands and deployment guide

Generated Folder Structure

app/
bootstrap/
config/
database/
factories/
migrations/
seeders/
public/
resources/
views/
routes/
api.php
web.php
tests/
Feature/
Unit/
Pest.php
.github/workflows/ci.yml
Dockerfile
docker-compose.yml
composer.json
phpstan.neon
pint.json
phpunit.xml
.env.example
README.md

Quick Start Commands

Generate Project

terminal
npx setupkaro init my-app --template laravel

Next Steps

cd my-app
./vendor/bin/sail up -d

Frequently Asked Questions

Does this work with Laravel Octane?
The template uses FrankenPHP worker mode which is Octane-compatible. For full Octane, add `laravel/octane` and configure RoadRunner/Swoole.
Can I use this with Laravel Forge/Vapor?
Yes. The generated project is a standard Laravel 11 app compatible with Forge, Vapor, and any Laravel hosting.
What PHP version is required?
PHP 8.2+ (Laravel 11 requirement). The Dockerfile uses PHP 8.3 with FrankenPHP.
Does it include Laravel Breeze / Jetstream?
No — the template is a clean API base. Install Breeze/Jetstream after generation if you need auth scaffolding.

Generate Another Template

React + TypeScript

Vite + React + TS with Tailwind and React Router

terminal
npx setupkaro init my-app --template react-ts

Replace my-app with your project name.

Ready to generate your Laravel project?

One command. Production-ready. Start building in seconds.

terminal
npx setupkaro init my-app --template laravel