Documentation

Stacktura is a production-ready SaaS boilerplate. Next.js 16 on the frontend, Laravel 12 on the backend, 10 removable modules. Unzip it, pick what you need, ship your product.

Tech Stack

LayerTechnology
FrontendNext.js 16, React 19, TypeScript 5, Tailwind CSS 4, next-intl 4
BackendLaravel 12, PHP 8.4+, Sanctum 4 (token auth)
DatabasePostgreSQL 16
Cache / QueueRedis 7
PaymentsStripe via Laravel Cashier 16
UI Componentsshadcn/ui (Radix + Tailwind)
TestingPHPUnit 11 (backend), Vitest 4 (frontend)
Dev ToolsStorybook 10, Mailpit, Docker Compose

Quick Start

Zero to a running SaaS in under 5 minutes.

Prerequisites

Unzip

unzip stacktura.zip -d my-saas
cd my-saas

Install & configure

npm install
cd frontend && npm install && cd ..
npx stacktura init

The interactive CLI lets you pick modules, set Stripe/Google keys, and generates your .env file.

Start

docker compose up --build -d

Seed demo data (optional)

docker compose exec backend php artisan db:seed

Creates 25 users with realistic data. Login: admin@stacktura.dev / password

Open

Frontendhttp://localhost:3000
Backend APIhttp://localhost:8000
Mailpithttp://localhost:8025
PostgreSQLlocalhost:5432
Redislocalhost:6379
Customize

Documentation

Ready to build your SaaS?

Full source code, all modules, lifetime updates.

Get Stacktura — $249