Appearance
Configuration
Introduction
kitloom follows the usual Laravel conventions: every package merges its own defaults, so a site has config files only for what it changes. A package's config is config/; publish it when you need to override it, for example:
bash
php artisan vendor:publish --tag=kitloom-site-configOr create the file with only the keys you change — the rest keeps the package's defaults.
Site settings that administrators change from the panel — the site title, permalinks, the active theme, the switched-off modules — are not config. They live in the options table, exactly where WordPress keeps them. See Where settings are stored.
Environment
Site and core
| Variable | Default | Purpose |
|---|---|---|
APP_ | http:// | The site's address, with its scheme and no trailing slash. php artisan wordpress: and the seeder write WordPress's home and siteurl options from it, and a theme's demo writes its links and images with it — so set it before the site is filled (a site that moves later changes its content with Search & Replace). Links that leave a request — a password reset, the links in an email — are built from home, else from APP_, never from the request's Host header; and outside the local environment the site answers only to the host of APP_, of home and of SITE_ (comma-separated, for a load balancer's health check), with their subdomains: any other Host gets a 404. |
APP_ | '' | Not a setting of a site: the active theme is the kitloom_ option, chosen on Appearance → Themes or with php artisan site:, and npm run dev asks the site for it. APP_ stands in only while that option was never set — a test's theme in phpunit.. Leave it out of .. |
SITE_ | 0 | Seconds the site keeps whole pages for guests (Cache). 0 — no page cache. The default of Settings → Cache in the admins, where it is switched on, timed and cleared; a value saved there wins. |
SITE_ | default store | The cache store for those pages. |
SITE_ | false | Also keep those pages as files and send them from public/ before Laravel starts — a file read instead of a boot. One server, or several sharing the folder SITE_ (default storage/). The skeletons' public/ names that folder itself, so a different path is changed there too: the two must match. See Benchmarks. |
DB_ | '' | The table prefix — wp_ for a typical WordPress database. Read by the skeletons' config/ for MySQL and MariaDB. |
HASH_ | wordpress | Passwords are checked and written as WordPress hashes them. The default of the skeletons' config/; Laravel's own config says bcrypt. |
AUTH_ | App\ | The user model of the wordpress user provider. |
KITLOOM_ | auto | What a module switch does to config and route caches: auto, deploy or manual. See Enabling & Disabling. |
KITLOOM_ | true | false leaves How it works out of every module's menu section, in both admins. The pages stay, linked from the Modules screen. See Enabling & Disabling. |
KITLOOM_ | deny | The Gate's answer for an admin section or a WordPress capability nobody decided on. allow only for a site that runs without roles on purpose. |
SEED_ | admin@kitloom. | Skeletons only: the first administrator the seeder creates. |
SEED_ | password | Skeletons only: that administrator's password. |
Modules
| Variable | Package | Purpose |
|---|---|---|
KITLOOM_ | kitloom/ | Login or email of the user the local MCP server (php artisan mcp:) acts as. |
KITLOOM_ | kitloom/ | The name archives are kept under; two sites sharing a bucket keep apart by it. |
KITLOOM_, KITLOOM_ | kitloom/ | Where local archives and the work files go. |
KITLOOM_ | kitloom/ | The mailer form mail goes through; the default one when empty. |
KITLOOM_ | kitloom/ | The hidden field that catches bots (on by default). |
KITLOOM_, KITLOOM_ | kitloom/ | Cloudflare Turnstile keys. |
HEALTH_ | kitloom/ | The environment Site Health expects (production). |
IMPORT_ | kitloom/ | Where an uploaded WXR file waits for the import (local). |
MEDIA_ | kitloom/ | The uploads disk (public). |
MEDIA_ | kitloom/ | The public address of the uploads, for a CDN or a bucket. |
MEDIA_ | kitloom/ | An image CDN (Cloudinary, Cloudflare Images, Bunny Optimizer): images and their sizes are served from it, other files from the uploads. |
MEDIA_ | kitloom/ | Bigger photos are shown scaled into it, as WordPress's big_ (2560; 0 — never). |
MEDIA_, MEDIA_ | kitloom/ | Limits for an uploaded image's pixels and any file's bytes. |
MEDIA_, MEDIA_ | kitloom/ | Image compression on or off, and where its tools are. |
PAYMENTS_ | kitloom/ | The payment method used when none is named. |
REDIRECTS_, REDIRECTS_ | kitloom/ | How long and where the rule set is cached (86400). |
KITLOOM_, KITLOOM_ | kitloom/ | database (the module's own engine), or a Scout engine such as meilisearch; the index name. |
KITLOOM_ | kitloom/ | Where each server keeps its copy of the Sentry settings. |
SEO_, SEO_ | kitloom/ | Serve the sitemaps and robots. (on by default). |
SEO_, SEO_ | kitloom/ | How long and where sitemaps are cached (3600). |
SEO_, SEO_, SEO_ | kitloom/ | Instant indexing on or off, Google's daily quota (200), the store that counts it. |
VISUAL_ | kitloom/ | Post text in the visual editor (on) or the plain HTML editor (off). |
KITLOOM_, KITLOOM_ | kitloom/ | Demo sites only: a SQLite copy of the site per visitor, chosen by the host. Off by default. |
Each module's README — its How it works page in the admin — lists the rest of its configuration.
Where settings are stored
All packages read and write site options through kitloom/. It reads the autoloaded options — what WordPress loads with every page — in one query, once per request and only if something asks, and caches the snapshot; any other option (a transient, an inactive theme's mods) is read by name when asked. A declared setting that was never saved answers with its default without a query:
php
use Kitloom\Settings\Facades\Settings;
Settings::get('blogname');
Settings::get('posts_per_page', 10);
Settings::array('sticky_posts'); // JSON, or WordPress's serialized formatWrites go through Kitloom\, which checks a declared setting's rules and, given a user, their permission — the admins' settings pages save through it. Arrays are written as JSON; WordPress's serialized values are still read, and become JSON on their next save. Every write announces Kitloom\ or Setting. Modules declare their settings; php artisan settings: shows them all, by group.
| Key | Default | Meaning |
|---|---|---|
kitloom- | options | The options table (wp_ with the wp_ prefix). |
kitloom- | kitloom_ | The option that names the active theme — the one source, for the site and for Vite's dev server. The value '' means no theme, and the site answers with JSON; while it was never set, APP_ (tests) stands in. |
kitloom- | kitloom_ | The option that holds the switched-off modules (JSON). It is intentionally not WordPress's active_. |
kitloom- | kitloom_ | The time of the last module switch. |
The site
config/ (kitloom/):
| Key | Default | Meaning |
|---|---|---|
bases., bases., bases. | author, search, page | The fixed words in archive addresses. The category and tag bases are WordPress's options, category_ and tag_. |
theme. | kitloom_ | The option that names the active theme. |
theme. | env('APP_ | The theme used while the option is not set or names no installed theme — a test's, from phpunit.. |
theme. | null | Where themes that are folders of the application live; null — themes/. |
types., types. | [] | Address settings over whatever a module or theme declares: 'book' => ['rewrite. |
content_ | [] | The order content filters run in, by name, as the priorities of the_. |
page_ | [] | Widget slots of page types: 'book' => ['similar_. |
uploads_ | null | Where the WordPress uploads are seen from outside; null — /. |
breadcrumbs. | Home | The first crumb. |
cache., cache. | SITE_, SITE_ | The page cache for guests; the TTL is the default of the kitloom_ and kitloom_ options Settings → Cache writes. |
cache. | the content tables | The tables a page can show: a row of one saved or deleted draws the pages that read it anew. |
cache. | the content tables' keys and list columns | How a page's reads and a save meet: key is the primary key, lists the column combinations lists are asked by (post_ + post_). A table in flush_ and not here draws every page that read any of its rows anew. |
cache. | utm_, fbclid, gclid… | Query parameters that do not make another page: a campaign's tags and click ids share the entry of the plain address. * ends a prefix. |
search. | null | Results per page; null — the posts_ option. |
search. | null | Words left out of a search; null — WordPress's English list. |
auth. | true | POST / and POST / for the theme's sign-in form. |
rest. | true | The REST root / and every module's namespace under it. |
rest. | wp- | The REST root's prefix. |
rest. | true | Add the prefix to Laravel's cors., so a front end on another origin may call it. |
The permalink structure, the front page, the posts page, posts per page and the other reading options are WordPress's own options, set on the admin's settings pages.
Admin switches
Every admin package adds its section as soon as it is installed. When a site wants to place items itself, or hide a section, it turns the package off with a config switch instead of uninstalling it. Add the key to the module's config file (create it if the site has none):
php
// config/kitloom-redirects.php
return [
'filament' => [
'register' => false,
],
];Switches default to true.
Filament
| Switch | Turns off |
|---|---|
kitloom- | The core sections: Posts, Pages, Categories, Tags, Comments, the settings pages and the dashboard widgets |
kitloom- | The settings pages General, Writing, Permalinks and Widgets |
kitloom- | Comments |
kitloom- | kitloom's widgets on the dashboard |
kitloom- | Appearance → Themes; Settings → Reading, Privacy and Cache |
kitloom- | Modules |
kitloom- | Users → Roles |
kitloom- | The Role field on the user form |
kitloom- | Media |
kitloom- | Picking attachments (the featured image, the editor) in the media library |
kitloom- | Appearance → Menus |
kitloom- | The forms of kitloom/widgets' widget types |
kitloom- | Custom Fields → Field Groups |
kitloom- | The Custom Fields block on forms |
kitloom- | Custom Fields → Post Types, Taxonomies |
kitloom- | SEO |
kitloom- | The SEO block on post and term forms |
kitloom- | Redirects |
kitloom- | Internal Links |
kitloom- | Contact |
kitloom- | Products, Shop |
kitloom- | Payments |
kitloom- | Sliders |
kitloom- | Settings → Shortcodes |
kitloom- | Search |
kitloom- | Search & Replace |
kitloom- | Tools → Import, Export |
kitloom- | Admin Menu |
kitloom- | REST API |
kitloom- | AI agents |
kitloom- | Two-Factor Authentication |
kitloom- | Social Login |
kitloom- | Activity Log |
kitloom- | Backups |
kitloom- | Site Health |
kitloom- | Horizon |
kitloom- | Pulse |
kitloom- | Sentry |
kitloom- | Image compression |
kitloom- | Cookie Consent |
kitloom- | Analytics |
kitloom- | Tag Manager |
kitloom- | Ad Pixels |
kitloom- | Header & Footer |
kitloom- | AI Writer |
kitloom- | Admin Bar, and where the admin bar's New and Edit lead in Filament |
kitloom- | Bookings |
kitloom- | Settings → Discussion, How it works next to Comments, and the links the moderation emails point at |
kitloom- | Courses |
kitloom- | Languages, the Translations block on post and term forms, and the Translations column, filter and "Translate with AI into…" in their lists |
kitloom- | Link Checker |
kitloom- | Listings |
kitloom- | Maintenance |
kitloom- | Privacy |
kitloom- | Webhooks |
Nova
| Switch | Turns off |
|---|---|
kitloom- | Posts, Pages, Categories, Tags |
kitloom- | The Settings section |
kitloom- | The Options resource (raw options rows) |
kitloom- | Comments |
kitloom- | Appearance → Themes; Settings → Reading, Privacy and Cache |
kitloom- | Modules |
kitloom- | Users → Roles |
kitloom- | Media, and its settings page |
kitloom- | Picking attachments in the media library |
kitloom- | Menus |
kitloom- | The forms of kitloom/widgets' widget types |
kitloom- | Custom Fields → Field Groups |
kitloom- | The Custom Fields tab on forms |
kitloom- | Post Types, Taxonomies |
kitloom- | The SEO section |
kitloom- | SEO settings pages |
kitloom- | The SEO tab on forms |
kitloom- | Settings → Shortcodes |
kitloom- | Redirects |
kitloom- | Only the Redirects sidebar section (resources stay) |
kitloom- | Internal Links (the link counts stay in the post lists) |
kitloom- | Only the Internal Links sidebar section (resources stay) |
kitloom- | Contact forms |
kitloom- | Products, Shop |
kitloom- | Payments |
kitloom- | Sliders |
kitloom- | Search |
kitloom- | Search & Replace |
kitloom- | Only its sidebar entry |
kitloom- | Import & Export |
kitloom- | Only its sidebar entry |
kitloom- | Admin Menu |
kitloom- | REST API |
kitloom- | AI agents |
kitloom- | Two-Factor Authentication |
kitloom- | Social Login |
kitloom- | Activity Log |
kitloom- | Backups |
kitloom- | Site Health |
kitloom- | Horizon |
kitloom- | Pulse |
kitloom- | Sentry |
kitloom- | Image compression |
kitloom- | Cookie Consent |
kitloom- | Analytics |
kitloom- | Tag Manager |
kitloom- | Ad Pixels |
kitloom- | Header & Footer |
kitloom- | AI Writer |
kitloom- | Admin Bar, and where the admin bar's New and Edit lead in Nova |
kitloom- | Bookings |
kitloom- | Settings → Discussion, How it works next to Comments, and the links the moderation emails point at |
kitloom- | Courses |
kitloom- | Languages, the Translations tab on post and term forms, and the Translations column, filter and "Translate with AI into…" in their lists |
kitloom- | Link Checker |
kitloom- | Listings |
kitloom- | Maintenance |
kitloom- | Privacy |
kitloom- | Webhooks |
Switch or deactivate?
A switch hides the admin of a module for good, in code. Deactivating a module on the Modules screen unloads the whole module — domain and admin — and is undone with one click.
Other switches
The same pattern turns off what a module adds outside the admin:
| Family | Packages | Turns off |
|---|---|---|
kitloom- | cookie-consent, forms, languages, media, seo, shop, slider, social-accounts, widgets | The module's shortcodes |
kitloom- | activity-log, backup, bookings, comments, courses, custom-fields, forms, health, import-export, languages, link-checks, listings, maintenance, media-optimizer, navigation, post-types, redirects, search, seo, shop, slider, webhooks, widgets | The module's tools for AI agents |
kitloom- | api, bookings, comments, courses, forms, listings, payments, privacy, shop | The module's routes — for api, bookings, comments, courses, forms, listings and shop, its REST namespace |
kitloom- | ai | The MCP server at / |
kitloom- | site | The REST root and every namespace under it |
kitloom- | site | POST / and POST / |
kitloom- | two-factor | The code step of the site's own sign-in |
kitloom- | social-accounts | The routes of sign-in with Google or GitHub |
kitloom- | shortcodes | Shortcodes on the site's content and the shortcodes page part |
kitloom- | shortcodes | [sidebar] and [widget] |