The Next.js + Laravel
SaaS Boilerplate

Stop rebuilding the same SaaS foundation. Start shipping.

Next.js 16 Next.js 16 Laravel 12 Laravel 12 PostgreSQL PostgreSQL Redis Redis TypeScript TypeScript Tailwind Tailwind Docker Docker Stripe Stripe Storybook Storybook
app.stacktura.com/dashboard
Welcome back, Sarah

Here is an overview of your application.

Total Users

2,350

+180 this month

Revenue

$45,231

+20.1%

Subscriptions

1,247

+12 new

Tasks

14

3 due today

Email Role Verified
sarah@example.com admin Yes
alex@company.io user Yes
mike@startup.dev user No
lisa@design.co user Yes

Watch the full walkthrough

From docker compose up to a full SaaS in minutes.

Everything you need.
Nothing you don't.

Sanctum

Auth

Email, Google OAuth, avatar, email verification, password reset. Sanctum tokens, rate-limited.

Stripe Cashier

Billing

Stripe subscriptions, customer portal, webhooks. Three plans ready.

Role-based

Admin

Stats dashboard, user management with search and filters, role editing.

10 removable

Module CLI

Remove any feature with one command. No leftover code.

next-intl

i18n

Multi-language support (EN/FR) with next-intl and Laravel. Add any locale in minutes.

Built-in

Security

Rate limiting, HttpOnly tokens, signed URLs, server-only API client. No token in client JS.

Color presets

Theming

Light, dark, and system modes. Change your entire brand identity in one CSS variable.

GitHub Actions

CI/CD

GitHub Actions pipeline: PHPUnit, Vitest, TypeScript check, ESLint. Runs on every push.

See it in action

Clean structure you can understand in 5 minutes. A CLI no one else has.

Project structure
stacktura/
├── frontend/               Next.js 16
│   ├── src/app/
│   │   ├── (auth)/         login, register, reset
│   │   └── (dashboard)/    settings, billing, admin
│   ├── src/core/           actions, components
│   │   └── components/ui/  shadcn/ui
│   ├── src/modules/        admin, billing…
│   ├── src/i18n/            EN/FR locales
│   ├── .storybook/         42 stories
│   └── vitest.config.ts
├── backend/                Laravel 12
│   ├── app/Http/           Controllers, Requests
│   ├── app/Core/Services/  AuthService…
│   ├── app/Modules/        Admin/ Billing/
│   └── tests/              106 PHPUnit tests
├── stacktura.modules.json  module registry
├── docker-compose.yml      5 services
├── .github/workflows/      CI/CD pipeline
└── eslint.config.mjs       strict flat config
Terminal — npx stacktura init
$ npx stacktura init
? Which modules do you want to keep?
Auth — login, register, reset
Admin — stats, users, roles
Billing — stripe, subs, webhooks
OAuth — Google sign-in
Dark mode — theme toggle
i18n — EN/FR locales
… and 4 more
Removing 2 features...
Removed modules/billing/
Removed dark mode components
Cleaned routes, nav, packages
Done. App still works.

By the numbers

No fluff. Just what's in the box.

31

API endpoints

Auth, billing, admin — all tested

187

Tests

PHPUnit + Vitest, all passing

10

Removable modules

Billing, OAuth, admin, i18n, dark mode…

5

Docker services

One docker compose up

42

Storybook stories

Every UI component documented

Browse components →

1

CLI command

Remove modules you don't need

Launch price — Save $100

One kit. Everything included.

$349 $249

Auth, billing, admin, Docker, CI/CD, Storybook — all wired together.

Get Stacktura
One-time payment Lifetime updates Unlimited projects Full source code

Questions

Next.js 16 (React 19) for the frontend with Server Actions, Laravel 12 as a headless API, PostgreSQL 16 for the database, Redis 7 for caching, and Docker for the development environment. 187 tests, 42 Storybook stories, 10 removable modules. Everything runs with a single docker compose up.
Yes. Run npx stacktura init after unzipping, pick the modules you want, and the CLI removes everything else — files, routes, config, even Composer packages. No leftover code.
Yes. Pay once, get lifetime access to the repository including all future updates. No subscription, no recurring fees.
Yes. The license covers unlimited projects — personal, client work, or commercial SaaS products. Build as many apps as you want.
Basic knowledge of both helps, but the codebase is well-structured and documented. The frontend and backend are clearly separated — you can focus on one side at a time.
Yes. The frontend and backend communicate through a REST API. You can connect any frontend to the Laravel API, or use the Next.js frontend with a different backend, as long as the API contract is respected. This also means you can add a mobile app later that shares the same backend.
You get full source code, bilingual documentation, and architecture guides. Found a bug? Open a GitHub issue and it will be fixed. The codebase is well-structured and documented, most questions are answered by the code itself.

Ready to stop building boilerplate?

Get Stacktura