PHPackages                             mostlyserious/craftcms-sveltekit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mostlyserious/craftcms-sveltekit

ActiveProject[API Development](/categories/api)

mostlyserious/craftcms-sveltekit
================================

Split monorepo bootstrap for headless Craft CMS projects with a SvelteKit frontend.

0.1.2(1mo ago)00UnlicenseTypeScript

Since Jul 1Pushed 1mo agoCompare

[ Source](https://github.com/mostlyserious/craftcms-sveltekit)[ Packagist](https://packagist.org/packages/mostlyserious/craftcms-sveltekit)[ RSS](/packages/mostlyserious-craftcms-sveltekit/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependenciesVersions (3)Used By (0)

Headless Craft CMS + SvelteKit Boilerplate
==========================================

[](#headless-craft-cms--sveltekit-boilerplate)

Split monorepo bootstrap for headless Craft CMS projects with a SvelteKit frontend.

Structure
---------

[](#structure)

- `backend/` is the Craft CMS application and Composer root.
- `frontend/` is the SvelteKit application.
- `.ddev/` serves Craft at `https://cms..ddev.site` and SvelteKit at `https://.ddev.site`.

Install
-------

[](#install)

```
./utility/install.sh
```

The installer derives the DDEV project name from the folder name, writes local environment files, configures DDEV host routing, installs pnpm dependencies from the host before DDEV starts, installs Composer dependencies in DDEV, creates Craft keys, and runs Craft install. It resolves `pnpm@latest` through Corepack or `npm exec corepack`. It does not run a production frontend build.

The DDEV frontend daemon runs Vite directly with Node instead of `pnpm run dev`. Dependencies are installed from the host before DDEV starts, and avoiding pnpm in supervisor prevents non-TTY dependency repair prompts.

Server-side frontend requests call Craft through `CRAFT_INTERNAL_HOST=http://0.0.0.0` inside DDEV. Browser-facing CMS links still use `PUBLIC_CRAFT_URL=https://cms..ddev.site`.

To run Craft install noninteractively, provide `CRAFT_ADMIN_EMAIL`, `CRAFT_ADMIN_USERNAME`, and `CRAFT_ADMIN_PASSWORD`. If any are omitted, the installer lets `craft install/craft` prompt for missing admin values.

Common Commands
---------------

[](#common-commands)

```
ddev composer install
ddev craft up
corepack pnpm@latest install --frozen-lockfile
ddev pnpm --dir frontend run check
ddev pnpm --dir frontend test
ddev composer run check
ddev composer run pint
```

Run `dev` or `build` scripts only after explicit approval in agent sessions.

Public API
----------

[](#public-api)

- `api/page/`
- `api/seo/`
- `api/form/`
- `api/craft`
- `api/navigation`
- `api/footer`
- `api/shared`
- `api/ping`

Action endpoints:

- `actions/general/session`
- `actions/general/quick-edit/entry`

###  Health Score

31

—

LowBetter than 65% of packages

Maintenance90

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity25

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

45d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/551414?v=4)[Mostly Serious](/maintainers/mostlyserious)[@mostlyserious](https://github.com/mostlyserious)

---

Top Contributors

[![corneliusio](https://avatars.githubusercontent.com/u/4140885?v=4)](https://github.com/corneliusio "corneliusio (4 commits)")

### Embed Badge

![Health badge](/badges/mostlyserious-craftcms-sveltekit/health.svg)

```
[![Health](https://phpackages.com/badges/mostlyserious-craftcms-sveltekit/health.svg)](https://phpackages.com/packages/mostlyserious-craftcms-sveltekit)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.5M7](/packages/exsyst-swagger)[lucasdotvin/laravel-soulbscription

A straightforward interface to handle subscriptions and features consumption.

709209.3k](/packages/lucasdotvin-laravel-soulbscription)[pimax/fb-messenger-php

Facebook Messenger Bot PHP API

313188.5k2](/packages/pimax-fb-messenger-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
