Search by

beebmx / kirby-starterkit

beebmx

There is no license information available for the latest version (2.0.5) of this package.

Beeb.mx Starter Kit for Kirby CMS

Package info

github.com/beebmx/kirby-starterkit

Homepage

Type:project

pkg:composer/beebmx/kirby-starterkit

Statistics

Installs: 39

Dependents: 0

Suggesters: 0

Stars: 6

Open Issues: 0

2.0.5 2026-11-30 18:00 UTC

This package is auto-updated.

Last update: 2026-11-30 18:01:48 UTC


README

A starting point for building websites with Kirby 6, with Blade templates, Vite, Tailwind CSS and a set of plugins already set up.

Requirements

  • PHP 8.4+
  • Composer 2
  • Node.js 24+ (required by kirbyup 4 to build Panel plugins)

Installation

The easiest way to get started is Herd, using the Custom Starter Kit option, or the Laravel installer:

laravel new project-name --using=beebmx/kirby-starterkit

Or clone the repository and install the dependencies yourself:

git clone git@github.com:beebmx/kirby-starterkit.git project-name
cd project-name
cp .env.example .env
composer install
php kirby key:generate --env
npm install
npm run build
npm run app-setup

Then:

  1. Point your web server's document root to public/.
  2. In .env, set APP_URL. KIRBY_KEY is generated for you when the project is created with Herd, the Laravel installer or composer create-project; run php kirby key:generate --env to generate a new one. Kirby uses it to sign cookies and content.
  3. Open /panel to create the first user. Kirby only allows this on a local environment; on a server, set KIRBY_INSTALL=true while you create it, then set it back to false.

What's included

  • Kirby 6 with the Panel and a minimal site and page blueprint.
  • Blade templates in site/templates, with an <x-layout> component (app/View/Components/Layout.php).
  • Vite, Tailwind CSS 4 (with the typography plugin) and optional Alpine.js in resources/.
  • A Panel plugin in site/plugins/app (Vue 3 + kirbyup 4).
  • Pest 5, Pint and Prettier (with Blade and Tailwind plugins).

Plugins:

Package Purpose
kirby-blade Laravel Blade templates for Kirby
kirby-courier Email messages and notifications, also used for login codes
kirby-email-plus Extra email services (Mailgun, Resend) on Kirby's email API
kirby-env .env support
kirby-scheduler Scheduled tasks, defined in site/config/tasks.php
kirby-sign Signed URLs

Project structure

app/          PHP classes (App\ namespace), e.g. Blade components
content/      Kirby content
kirby         Kirby CLI entry point (php kirby {command})
public/       Web root: index.php, built assets and media
resources/    CSS and JavaScript for the site, built by Vite
site/         Blueprints, config, plugins, snippets and templates
storage/      Accounts, cache, logs, sessions, license and compiled views
tests/        Pest tests

Configuration is split by topic in site/config/ and read from .env.

Development

Command Description
npm run dev Vite dev server with hot reload
npm run build Production build of the site assets
npm run app-dev Panel plugin dev server with HMR
npm run app Production build of the Panel plugin
npm run app-setup Install the Panel plugin dependencies and build
composer test Run the Pest test suite
vendor/bin/pint Format PHP code
php kirby List the Kirby CLI commands

composer test and vendor/bin/pest are equivalent. Kirby's e() and dump() helpers clash with Laravel's, but kirby-blade disables them before Kirby loads, so no extra setup is needed. To keep that working, leave KIRBY_HELPER_E set to false in public/index.php.

Kirby CLI

Run Kirby CLI commands with php kirby {command}:

php kirby make:blueprint article
php kirby clear:cache

The kirby file in the project root only forwards to vendor/bin/kirby, so the CLI updates with composer update. composer kirby and vendor/bin/kirby do the same thing.

Panel plugin

site/plugins/app is a ready-to-use Panel plugin. Its sources live in site/plugins/app/resources and build to index.js and index.css. The dev server creates an index.dev.js: never ship it.

Vue is provided by the Panel through an import map: import from vue, never bundle your own copy.

License

Kirby is commercial software: you can try it locally for free, but you need a license to publish a site. See the license agreement.

Resources