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
| Layer | Technology |
|---|---|
| Frontend | Next.js 16, React 19, TypeScript 5, Tailwind CSS 4, next-intl 4 |
| Backend | Laravel 12, PHP 8.4+, Sanctum 4 (token auth) |
| Database | PostgreSQL 16 |
| Cache / Queue | Redis 7 |
| Payments | Stripe via Laravel Cashier 16 |
| UI Components | shadcn/ui (Radix + Tailwind) |
| Testing | PHPUnit 11 (backend), Vitest 4 (frontend) |
| Dev Tools | Storybook 10, Mailpit, Docker Compose |
Quick Start
Zero to a running SaaS in under 5 minutes.
Prerequisites
- Docker Desktop (includes Docker Engine + Docker Compose)
- Node.js 20+ (for the setup CLI only)
- Stripe CLI (only if using Billing)
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
| Frontend | http://localhost:3000 |
| Backend API | http://localhost:8000 |
| Mailpit | http://localhost:8025 |
| PostgreSQL | localhost:5432 |
| Redis | localhost:6379 |