> ## Documentation Index
> Fetch the complete documentation index at: https://kawax.biz/llms.txt
> Use this file to discover all available pages before exploring further.

# cloud-starter-kits — Initial Research on the Laravel Cloud Starter Kit Collection

> A look at the official laravel/cloud-starter-kits repository: 13 starter kits that deploy to Laravel Cloud without any settings changed, and the design rules behind them.

> [!NOTE]
>
> This article is based on the README, AGENTS.md, tooling, and per-kit manifests of [`laravel/cloud-starter-kits`](https://github.com/laravel/cloud-starter-kits) as of November 27, 2026. The kits are synced daily, so this records the design at the time of research.

## What is cloud-starter-kits?

[laravel/cloud-starter-kits](https://github.com/laravel/cloud-starter-kits) is a monorepo of starter kits published by the Laravel organization. Each top-level folder is one kit, and each is a minimal application that deploys to [Laravel Cloud](https://laravel.com/cloud) with no settings changed.

The README positions each kit as a starting point for coding agents. Auth, databases, queues, and UI kits are not included, so the kit serves as a foundation onto which the agent adds the features you ask for.

Unlike the single-repository Laravel starter app (cloud-starter-laravel), this collection manages multiple stacks, including non-Laravel frameworks, in one place.

## Kit list

| Kit | Stack | Language / runtime |
| - | - | - |
| `nextjs` | Next.js, App Router, TypeScript, Tailwind CSS | Node.js 24 or later |
| `nuxt` | Nuxt 4, server-side rendering, TypeScript, Tailwind CSS | Node.js 24 or later |
| `express` | Express 5, TypeScript | Node.js 24 or later |
| `astro` | Astro, static output, Tailwind CSS | Node.js 24 or later |
| `fastapi` | FastAPI, uv | Python 3.14 or later |
| `django` | Django, uv | Python 3.14 or later |
| `rails` | Ruby on Rails 8.1, Tailwind CSS | Ruby 4.0 |
| `go` | Standard library only | Go 1.27 |
| `laravel` | Laravel 13 generated from `laravel/laravel` | PHP 8.3 or later |
| `laravel-react` | Laravel React starter kit (Inertia, React, TypeScript) | PHP 8.3 or later |
| `laravel-vue` | Laravel Vue starter kit (Inertia, Vue, TypeScript) | PHP 8.3 or later |
| `laravel-livewire` | Laravel Livewire starter kit (Livewire, Flux UI) | PHP 8.3 or later |
| `laravel-svelte` | Laravel Svelte starter kit (Inertia, Svelte, TypeScript) | PHP 8.3 or later |

The eight non-Laravel kits each have one page or route and one test. The five Laravel kits are Laravel's own starter kits.

## Two kinds of kits

Kits fall into two groups depending on how they are produced.

```mermaid theme={null}
graph TD
    A["laravel/cloud-starter-kits<br>(monorepo)"] --> B["Hand-written kits<br>nextjs / nuxt / express / astro<br>fastapi / django / rails / go"]
    A --> C["Generated kits<br>laravel / laravel-react / laravel-vue<br>laravel-livewire / laravel-svelte"]
    B --> D["AGENTS.md and welcome screen<br>1 route, 1 test"]
    C --> E["tooling/sync-laravel generates<br>from official packages"]
    E --> F["Daily sync commits<br>to main automatically"]
```

### Hand-written kits

The eight kits from `nextjs` through `go` are managed directly in the repository. Following the shared rules in `AGENTS.md`, each one:

* Deploys to Laravel Cloud using only Cloud's detected defaults (build command, start command, and version)
* Listens on the `PORT` environment variable (default 3000) on host `::`
* Reads all configuration from environment variables
* Declares its language version in the repository and commits its lockfile
* Contains no auth, database, queues, CI workflows, or Docker files

If a kit ever needs a setting, the policy is to fix Cloud's build detection rather than the kit.

### Generated Laravel kits

The five kits from `laravel` through `laravel-svelte` are generated by `tooling/sync-laravel` from `laravel/laravel` and `laravel/<stack>-starter-kit`. Hand edits are overwritten by the next sync, so changes go to the upstream package or the script.

The generation reproduces what `composer create-project` produces. It runs the upstream Composer scripts, deletes `.env`, `database/database.sqlite`, and `.github`, then runs `npm install` and `npm run build`. It keeps `composer.lock` and `package-lock.json`. Laravel Cloud supplies `.env` and `APP_KEY`.

The `laravel` kit tracks the latest `laravel/laravel` release, and the starter kits track their `main` branch. The upstream commit each folder was generated from is recorded in `tooling/laravel-sources.json`.

## Shared rules for hand-written kits

The Laravel Cloud section of each kit's `AGENTS.md` is synced from `tooling/cloud.md`. The shared rules are:

| Item | Rule |
| - | - |
| Port | Use the `PORT` environment variable, defaulting to 3000. Listen on host `::` so both IPv4 and IPv6 connect |
| Configuration | Read from environment variables in production. Do not use a `.env` file |
| Dockerfile | Do not add one. Cloud builds the image from the repository |
| Filesystem | Files written at runtime are lost on deploy or restart. Store data in a database, cache, or object storage |
| Scale to zero | Environments sleep when idle, so do not rely on in-memory state or timers |

The welcome screen is rendered from `tooling/welcome/welcome.html` into each kit. Kits that build Tailwind CSS on Cloud (Next.js, Nuxt, Astro, Rails) embed it in their layout. Kits with no frontend build (Django, FastAPI, Go, Express) load Tailwind's browser build from a CDN.

## Running locally

Each hand-written kit uses the standard commands listed in its `AGENTS.md`. For example, the `nextjs` kit:

```shell theme={null}
npm install
npm run dev
npm test
npm run lint
```

For the Laravel kits, run `composer install`, copy `.env.example` to `.env`, then run `php artisan key:generate`, `npm ci`, and `npm run build`. Verify with `composer ci:check` (`php artisan test` for the `laravel` kit).

## How publishing works

Each kit is published to a read-only template repository, `laravel/cloud-starter-<kit>`. On each push to `main`, `.github/workflows/split.yml` runs the checks and pushes only each kit's folder history to its repository with `git subtree split`.

For that reason, a kit never contains anything that only makes sense inside the monorepo, such as contribution notes or CI workflows. Users copy the split repository.

## What this repository tells us

* Each stack gets a minimal kit that is the baseline for Cloud
* Hand-written kits stay at one page and one test, leaving feature work to the agent
* The Laravel kits are regenerated from upstream packages daily, so they stay current

For the variants of Laravel's official starter kits (such as Fortify and WorkOS), see [Maestro](https://kawax.biz/en/blog/maestro-introduction.md). For Cloud itself, see [Laravel Cloud](https://kawax.biz/en/blog/laravel-cloud.md).

## Related pages

> [card] [Laravel Cloud](https://kawax.biz/en/blog/laravel-cloud.md)
>
> Covers Laravel Cloud as a PaaS and how it differs from Forge.

> [card] [Laravel Cloud CLI](https://kawax.biz/en/blog/laravel-cloud-cli.md)
>
> How to deploy apps and read logs from the CLI.

> [card] [Laravel Maestro](https://kawax.biz/en/blog/maestro-introduction.md)
>
> Research on the monorepo that manages Laravel's official starter kit variants.

> [card] [Laravel Cloud documentation](https://laravel.com/cloud/docs/intro)
>
> Check supported runtimes and deployment methods in the official Cloud docs.

## Primary sources

* [`laravel/cloud-starter-kits`](https://github.com/laravel/cloud-starter-kits)
* [README](https://github.com/laravel/cloud-starter-kits/blob/main/README.md)
* [AGENTS.md](https://github.com/laravel/cloud-starter-kits/blob/main/AGENTS.md)
* [`tooling/laravel-sources.json`](https://github.com/laravel/cloud-starter-kits/blob/main/tooling/laravel-sources.json)
* [Laravel Cloud Introduction](https://laravel.com/cloud/docs/intro)


## Related topics

- [Laravel Console Starter](https://kawax.biz/en/packages/laravel-console-starter/index.md)
- [Creating a Laravel Starter Kit](https://kawax.biz/en/advanced/starter-kit-creation.md)
- [Starter kits](https://kawax.biz/en/starter-kits.md)
- [Laravel Maestro — the starter kit orchestrator](https://kawax.biz/en/blog/maestro-introduction.md)
- [Laravel Passkeys initial research (passkeys-server + @laravel/passkeys)](https://kawax.biz/en/blog/passkeys-introduction.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.