PagibleAI Configuration and Command Reference

This page lists the environment variables of all PagibleAI packages, the Artisan commands they provide and the entries of the audit log. The guides linked from each section explain the features in detail. The facades for your own Laravel code are described in the PHP API.

Configuration

Most settings read an environment variable, so you can change them in .env without copying configuration files. Settings without a variable, like the roles or the admin colors, require a published copy of the configuration file:

php artisan vendor:publish --tag=cms-config

The core settings are in config/cms.php and the settings of each package in config/cms/<package>.php, e.g. config/cms/ai.php. Published files aren't updated by later releases, so compare them with the package versions after an upgrade. Run php artisan optimize:clear after changing the configuration if it's cached.

Core

Variable
Default
Description
CMS_LOCALES
APP_LOCALE
Comma-separated content languages, e.g. en,de,fr; APP_LOCALE is the default language if it's in the list, otherwise the first one, and the admin hides the translation features if there is only one
CMS_TRANSLATE_FALLBACK
hide
Pages without a variant in the current language: hide leaves them out of menus, breadcrumbs and lists, source shows them in their source language
CMS_MULTIDOMAIN
false
Select the page tree by the domain name of the request
CMS_NAVDEPTH
2
Maximum depth of the navigation menu
CMS_DB_CONNECTION
DB_CONNECTION
Database connection for the CMS tables
CMS_DISK
public
Filesystem disk for public files
CMS_PRIVATE_DISK
local
Filesystem disk for files of restricted pages; must differ from the public disk and must not be publicly reachable
CMS_PRIVATE_TTL
300
Lifetime in seconds of the signed URLs of private files
CMS_UPLOAD_FILESIZE
50
Maximum upload size in MB; upload_max_filesize and post_max_size in php.ini and the request size limit of the web server, e.g. client_max_body_size of nginx, must allow at least this size
CMS_UPLOAD_MAXPIXELS
16777216
Maximum decoded image size in pixels (4096 x 4096)
CMS_UPLOAD_MIMETYPES
Archives, PDF, office documents, audio, images, text and video
Comma-separated MIME types or prefixes allowed for uploads, e.g. image/,application/pdf
CMS_IMAGE_DRIVER
gd
Intervention Image driver, e.g. imagick
CMS_IMAGE_QUALITY
75
Quality (1-100) of the WebP or JPEG previews; run cms:previews --force after changing it
CMS_ALLOW_INTERNAL
false
Allow fetching URLs whose host resolves to a private or reserved IP address, e.g. when adding files by URL
CMS_BROADCAST
false
Send save events to other editors through Laravel Reverb, see Real-Time Updates
CMS_LOCK
30
Lock lifetime and maximum wait in seconds for changes of the page tree
CMS_VERSIONS
10
Number of versions kept for each page, element and file
CMS_PRUNE
30
Days after which deleted pages, elements and files are removed by model:prune, false disables pruning
CMS_QUEUE_CONNECTION, CMS_QUEUE
Default connection and queue
Queue for the background jobs of the CMS, see Queues and scheduler
CMS_LOG_CHANNEL, CMS_WATCH_SAMPLE, CMS_WATCH_ANONYMIZE
Empty, 1.0, true
Audit log settings, see Audit logging below

The roles are defined in the roles array of config/cms.php and the language fallbacks of regional languages, e.g. 'de-CH' => ['de'], in translate.chains. See Authorization and Permissions for the roles.

The image previews are generated in the sizes listed in image.preview-sizes, by default with a maximum of 480 x 270, 720 x 405, 960 x 540 and 1920 x 1080 pixels. Run cms:previews after changing the list to create the new sizes and remove the old ones.

Frontend theme

Variable
Default
Description
CMS_THEME_CACHE
file, array if APP_DEBUG is set
Cache store for rendered pages
CMS_THEME_TTL
86400, 0 if APP_DEBUG is set
Lifetime in seconds of cached theme data, 0 disables the cache
CMS_THEME_LOCK
5
Lifetime in seconds of the lock that prevents rendering the same page several times at once
CMS_THEME_STALE
10
Seconds a cached page is kept after it expired
CMS_THEME_DISK
Empty
Filesystem disk for themes uploaded by tenants, disabled if empty
CMS_PAGEROUTE
{}
JSON object with Laravel route group options for the page route, e.g. {"prefix":"pages"}
CMS_SEARCH_MIN
2
Minimum length (1-10) of search terms in the frontend
CMS_SITEMAP
sitemap
File name of the sitemap, which is available at /sitemap.xml, /sitemap-news.xml and /sitemap-{page}.xml
CMS_CSP_MEDIA_SRC
Unsplash, W3C media and Iconify hosts
Additional sources for images and media in the Content Security Policy; tighten it in production
CMS_CSP_STYLE_SRC, CMS_CSP_SCRIPT_SRC, CMS_CSP_CONNECT_SRC
hCaptcha hosts
Additional style, script and connection sources
CMS_CSP_FRAME_SRC
hCaptcha hosts and https://www.openstreetmap.org
Additional frame sources
CMS_THEME_WATCH
false
Log frontend searches and contact form submissions in the audit log
HCAPTCHA_SITEKEY, HCAPTCHA_SECRET
Empty
Site key and secret of hCaptcha, which protects the contact form outside the local environment if they are set; cms:install:theme adds them to config/services.php

Admin panel

Variable
Default
Description
CMS_ADMIN_LOGIN
Empty
Login URL for single sign-on, e.g. https://example.com/login?redirect=_url_; _url_ is replaced by the admin URL
CMS_PROXY_MAXSIZE
10
Maximum size in MB of external files loaded through the admin proxy
CMS_PROXY_TIMEOUT
30
Timeout in seconds of the proxy requests
CMS_PROXY_TTL
3600
Lifetime in seconds of the signed proxy tokens

The colors of the light and dark admin theme are in the colors array of config/cms/admin.php.

AI

Variable
Default
Description
CMS_AI_LIMIT
10
AI requests per minute and user through GraphQL and the chat, 0 for no limit
CMS_AI_RATELIMIT
60
Provider calls per minute and tenant of queued page translations and file description translations
CMS_AI_TIMEOUT
300
Maximum runtime in seconds of one AI request
CMS_AI_MAXTIME
900
Maximum runtime in seconds of requests with several provider calls, like chat answers, 0 for no limit
CMS_AI_MAXSTEPS
25
Maximum number of tool-calling steps of a chat answer
CMS_AI_MAXTOKEN
0
Maximum number of tokens generated per request, 0 uses the default of the model
CMS_AI_MAXINPUT
1048576
Maximum size in bytes of the content sent to the provider
CMS_AI_MAXDEPTH
20
Maximum nesting depth of structured content sent to the provider
CMS_AI_MAXMEDIA
20
Maximum size in MB of files sent to the provider, 0 for no limit

Each AI function uses its own provider, model and API key. Set them with CMS_AI_<FUNCTION>, CMS_AI_<FUNCTION>_MODEL and CMS_AI_<FUNCTION>_API_KEY, e.g. CMS_AI_WRITE=openai. Without a model, the default model of the provider is used. The translation function also reads the provider URL from CMS_AI_TRANSLATE_URL, e.g. for the DeepL Free API.

Function
Default provider
Used for
WRITE
gemini
Generating text from prompts and the AI chat
REFINE
openai
Improving existing content in its structure
DESCRIBE
gemini
Describing images, audio, video and documents
TRANSLATE
deepl
Translating pages and texts
IMAGINE
gemini
Generating images
INPAINT
gemini
Changing selected parts of images
REPAINT
gemini
Changing images based on a prompt
ERASE
clipdrop
Removing selected parts of images
ISOLATE
clipdrop
Removing image backgrounds
UNCROP
clipdrop
Extending images
UPSCALE
clipdrop
Upscaling images
TRANSCRIBE
openai
Transcribing audio

See Configure PagibleAI and the provider guides for the API keys.

APIs

Variable
Default
Description
CMS_GRAPHQL_MAXDEPTH
15
Maximum nesting depth of GraphQL queries
CMS_GRAPHQL_MAXCOMPLEXITY
10000
Maximum complexity score of GraphQL queries; low values reject the queries of the admin panel
CMS_JSONAPI_MAXDEPTH
1
Maximum depth of included JSON:API relationships, e.g. 2 allows include=children,children.children
CMS_JSONAPI_WATCH
false
Log JSON:API requests in the audit log

The MCP package has no settings of its own. Its route is added to routes/ai.php by cms:install:mcp, and requests are limited by the cms-mcp rate limiter, see Rate limits below.

Search

The aimeos/pagible-search package is a Laravel Scout engine that stores the index in the cms_index table of the CMS database connection. It uses the full-text search of SQLite (FTS5), MySQL and MariaDB, PostgreSQL and SQL Server, and a LIKE search for other databases and for languages without spaces between words, like Chinese or Japanese. cms:install:search publishes config/scout.php and sets the default driver to cms.

The search uses the Scout settings:

SCOUT_DRIVER=cms
# index changes in queued jobs instead of during the request
SCOUT_QUEUE=true

Enable SCOUT_QUEUE in production and run a queue worker. External Scout engines like Meilisearch, Typesense or Algolia work as well, but need the langs, langs_trashed, lang, stale and editor fields as filterable attributes of the page index. The frontend search accepts at least CMS_SEARCH_MIN characters and 60 requests per minute and IP address.

Metrics

Variable
Default
Description
ANALYTICS_DRIVER
none
Source of the page views, visits and conversions: cloudflare, ga4 or matomo
CLOUDFLARE_SITETAG, CLOUDFLARE_TOKEN
Empty
Site tag of Cloudflare Web Analytics and API token for the cloudflare driver
GOOGLE_PROPERTYID
Empty
Google Analytics 4 property ID for the ga4 driver
MATOMO_URL, MATOMO_TOKEN, MATOMO_SITEID
Empty
URL, API token and site ID for the matomo driver
GOOGLE_AUTH
Empty
Base64 encoded JSON credentials of a Google service account, used by the ga4 driver and for the Google Search queries, see Configure Google Search Console
CRUX_API_KEY
Empty
API key of the Chrome UX Report for the page speed data
KEYWORDS_DRIVER
none
Source of the keyword data: google, ahrefs or semrush
GOOGLEADS_CUSTOMER_ID, GOOGLEADS_LOGIN_CUSTOMER_ID, GOOGLEADS_DEVELOPER_TOKEN
Empty
Google Ads account, manager account and developer token for the google driver
GOOGLEADS_CLIENT_ID, GOOGLEADS_CLIENT_SECRET, GOOGLEADS_REFRESH_TOKEN
Empty
OAuth credentials for the google driver, see Configure Google Ads
GOOGLEADS_VERSION
v26
Google Ads API version
AHREFS_API_KEY, AHREFS_COUNTRY
Empty, us
API key and country for the ahrefs driver
SEMRUSH_API_KEY, SEMRUSH_DATABASE
Empty, us
API key and regional database for the semrush driver

cms:install:metrics publishes config/analytics-bridge.php. The keyword research of the get-keyword-volume and get-related-keywords MCP tools needs the package of the driver and the configuration of the keywords bridge, which you have to publish yourself:

composer require aimeos/laravel-keywords-google
# or aimeos/laravel-keywords-ahrefs, aimeos/laravel-keywords-semrush
php artisan vendor:publish --provider="Aimeos\KeywordsBridge\ServiceProvider"

Page metrics are cached for one hour and keyword data for seven days. Users need the page:metrics permission to see the Metrics tab of the page editor and to use the metrics in GraphQL and MCP, see GraphQL Page Metrics. The Metrics tab is an admin plugin, so run php artisan vendor:publish --tag=cms-admin --force after each update of the package.

CDN

Variable
Default
Description
CMS_CDN_URL
APP_URL
Scheme and host the CDN serves the pages and files from, e.g. https://www.example.com
CMS_CDN_DELAY
0
Seconds to wait before purging changed URLs, which are collected and purged together; requires a shared cache store with locks, 0 purges each change immediately
CMS_CDN_LIMIT
500
If more URLs are purged at once, Cloudflare, Fastly and Symfony HttpCache remove all content with one request instead, which also removes cached files and assets; 0 always purges the URLs
CMS_CDN_MAXAGE
Empty
Seconds the CDN caches public pages, replaces the cache time of each page
CMS_CDN_STALE
0
Seconds the CDN serves outdated pages while fetching the new version or while the server is unavailable
CMS_CDN_TIMEOUT
10
Seconds to wait for the CDN API or caching proxy
CMS_CDN_CLOUDFLARE_TOKEN, CMS_CDN_CLOUDFLARE_ZONE
Empty
API token with the Zone.Cache Purge permission and zone ID; enables the Cloudflare client
CMS_CDN_FASTLY_TOKEN, CMS_CDN_FASTLY_SERVICE
Empty
API token and service ID; enables the Fastly client
CMS_CDN_FASTLY_SOFT
true
Mark purged URLs as stale in Fastly instead of removing them
CMS_CDN_VARNISH_SERVERS
Empty
Comma-separated Varnish servers, e.g. 10.0.0.1:6081,10.0.0.2:6081; enables the Varnish client

Host limits per client, bans, refreshes and the order of stacked caches are set in the clients array of config/cms/cdn.php. See CDN Cache Purging.

Webhooks

Variable
Default
Description
CMS_WEBHOOKS_ENABLED
false
Send webhooks for content changes
CMS_WEBHOOKS_QUEUE_CONNECTION, CMS_WEBHOOKS_QUEUE
Default connection, cms-webhooks
Queue of the deliveries
CMS_WEBHOOK_INDEXER_URL, CMS_WEBHOOK_INDEXER_SECRET
Empty
URL and secret of the example operator endpoint in config/cms/webhooks.php, which is commented out by default

The response timeout (10 seconds), the subscriptions per tenant (25), the operator endpoints that receive the events of all tenants and the blocked IP ranges are set in config/cms/webhooks.php. Operator secrets start with whsec_; use a list of the new and the previous secret to rotate them. See Webhooks.

Payments

The aimeos/pagible-cashier package has no settings of its own. The API keys and webhook secrets are configured as described in the README of the provider package for Stripe, Paddle or Mollie, and cms:cashier:check shows what's still missing. See Paid Page Access.

Pulse dashboard

The aimeos/pagible-pulse package has no environment variables of its own, and Laravel Pulse itself is switched off with PULSE_ENABLED=false. The cards of the CMS dashboard are listed in the cards array of config/cms/pulse.php. Reorder the entries to change the layout or remove one to hide a card. Cards of packages that aren't installed stay hidden.

cms:install:pulse publishes the dashboard to resources/views/vendor/pulse/dashboard.blade.php, but doesn't overwrite an existing file. In that case, add the CMS cards to your dashboard yourself as described in the package README.

Running in production

Queues and scheduler

PagibleAI runs slow or repeated work in queued jobs. With the sync queue connection, they run during the request, which makes saving and publishing slower. With any other connection, nothing happens until a queue worker processes the jobs:

Jobs
Queue
Without a worker
Page translations, removing old versions, deleting files from the disk, invalidating cached pages that use changed shared elements or files
CMS_QUEUE_CONNECTION, CMS_QUEUE
Translations stay pending, old versions and files remain and cached pages show outdated shared content
Search index updates
Scout queue if SCOUT_QUEUE=true
Changes don't appear in the search
CDN purges
CMS_QUEUE_CONNECTION, CMS_QUEUE
The CDN serves outdated pages; CMS_CDN_DELAY requires a queue other than sync
Webhook deliveries
CMS_WEBHOOKS_QUEUE_CONNECTION, cms-webhooks
No webhooks are sent

The webhook deliveries use their own queue, so the worker has to process it too, and the retry_after setting of the queue connection must be greater than the webhook timeout plus 13 seconds:

php artisan queue:work --queue=default,cms-webhooks

The command uses the default queue names. If you set CMS_QUEUE, CMS_WEBHOOKS_QUEUE or a queue for Scout in config/scout.php, list these names instead, otherwise their jobs are never processed.

The Laravel scheduler runs cms:publish every 30 minutes for scheduled versions and model:prune daily to remove deleted pages, elements and files after CMS_PRUNE days. The Mollie package also schedules cashier:run for the recurring payments. Add the scheduler to the crontab of the server:

* * * * * cd /path/to/app && php artisan schedule:run >> /dev/null 2>&1

Versions scheduled for 10:05 are therefore published at 10:30 at the latest. If they must go live sooner, schedule cms:publish more often in the routes/console.php file of your application, e.g. Schedule::command('cms:publish')->everyFiveMinutes()->withoutOverlapping();.

Route middleware

The middleware of some routes is set in the configuration. In multi-tenant setups, e.g. with stancl/tenancy, add the middleware that initializes the tenant to the broadcasting and chat routes. Otherwise, the channels are authorized and the AI tools in the chat run without the right tenant. See Multi-Tenancy Setup.

Setting
Default
Route
broadcast-middleware in config/cms.php
web, auth, throttle:cms-broadcast
Authorization of the Reverb channels at /broadcasting/auth
middleware in config/cms/ai.php
web, throttle:cms-ai
Streaming AI chat at cmsapi/chat
proxy.middleware in config/cms/admin.php
web, auth, throttle:cms-proxy
Admin proxy for external files

Rate limits

The packages register Laravel rate limiters, which answer with HTTP status 429 if a limit is exceeded. Limits per user count by IP address for guests. To change a limit, register a limiter with the same name in the boot() method of your AppServiceProvider, e.g.:

use Illuminate\Cache\RateLimiting\Limit;
use Illuminate\Support\Facades\RateLimiter;

RateLimiter::for('cms-graphql', fn($request) => Limit::perMinute(300)->by($request->user()?->id ?: $request->ip()));
Limiter
Requests per minute
Used by
cms-graphql
120 per user
GraphQL API and admin panel
cms-login
10 per IP
Admin login through GraphQL
cms-ai
CMS_AI_LIMIT (10) per user
AI requests through GraphQL and the AI chat
cms-copy
10 per user
Copying pages through GraphQL and MCP
cms-mcp
120 per user
MCP server
cms-jsonapi
60 per IP
JSON:API
cms-search
60 per IP
Frontend search
cms-contact
2 per IP
Contact form
cms-sitemap
10 per IP
Sitemap files
cms-broadcast
120 per user
Authorization of the Reverb channels
cms-proxy
30 per IP
Admin proxy for external files
cms-asset, cms-admin-asset
300 per user
Files of private pages and admin assets
cms-cashier
10 per IP and user
Checkout and cancelling subscriptions

In addition to cms-login, failed logins are limited separately: after three failed attempts with the same email address from one IP address, the login is blocked for a minute.

Behind a CDN, load balancer or reverse proxy, configure the trusted proxies of Laravel, e.g. with $middleware->trustProxies(at: [...]) in bootstrap/app.php. Otherwise, all requests seem to come from the IP address of the proxy, so all visitors share one limit and the audit log contains the proxy address instead of the visitor's.

Production checklist

  • Set APP_DEBUG=false, which also enables the page cache of the theme.
  • Use a CMS_PRIVATE_DISK that isn't reachable from the web and keep CMS_ALLOW_INTERNAL=false.
  • Remove the CMS_CSP_* sources your pages don't use, e.g. the Unsplash and Iconify hosts.
  • Set SCOUT_QUEUE=true, run a queue worker for the default and cms-webhooks queues and add the scheduler to the crontab.
  • Configure the trusted proxies if a CDN, load balancer or reverse proxy forwards the requests.
  • With several application servers, use a shared cache store with locks, like Redis, Memcached or the database, for CACHE_STORE and CMS_THEME_CACHE. The locks of the page tree, files, page cache, sitemaps and CDN purges and the scheduler only work across servers this way.
  • Raise upload_max_filesize, post_max_size and the request size limit of the web server to at least CMS_UPLOAD_FILESIZE.
  • Set the hCaptcha keys if you use the contact form.
  • Set CMS_LOG_CHANNEL to record content changes and logins.
  • In multi-tenant setups, add the tenancy middleware to the broadcasting and chat routes.
  • Run php artisan optimize after each deployment and php artisan vendor:publish --tag=cms-admin --force after updating the packages.
  • Schedule cms:backup with --keep to create regular backups.

Artisan commands

Run php artisan <command> --help to see all options of a command. cms:publish, cms:previews and cms:description work on all tenants if --tenant is missing. The other commands use one tenant, which is described in their rows. Pass --tenant= without a value for the default tenant.

Installation

Command
Description
cms:install
Installs all PagibleAI packages, runs the migrations and adds the update commands to composer.json; --seed adds example pages
cms:install:<package>
Installs a single package, e.g. cms:install:core, cms:install:theme or cms:install:webhooks; cms:install calls them for all installed packages
cms:install:cashier
Installs the payment integration; --no-migrate only publishes the migrations, --webhook creates the Stripe webhook without asking
cms:demo
Adds the demo content of a theme; --theme selects the theme, --tenant the tenant (default: the theme name) and --all adds every registered theme to its own tenant
cms:serve
Starts the local development server like php artisan serve, but serves uploaded files and allows uploads up to 100 MB

Users and content

Command
Description
cms:user <email>
Manages the CMS permissions of a user and creates the user if it doesn't exist
cms:publish
Publishes versions scheduled for publishing; runs every 30 minutes through the Laravel scheduler
cms:index
Rebuilds the search index of all pages, elements and files, including deleted ones; has no options. Only needed after writing content directly into the database
cms:previews
Creates missing image previews and removes previews of sizes no longer configured; --force replaces all previews, --id limits it to the given file IDs and can be used several times
cms:description
Generates missing descriptions of pages and files with AI

Options of cms:user:

  • -a, --add: adds roles or permissions, e.g. -a editor or -a "page:*". Can be used several times.
  • -r, --remove: removes roles or permissions. Permissions not assigned directly are denied with a ! entry.
  • --langs: limits the languages the user may change, e.g. --langs=de --langs=fr. It replaces the current languages, --langs=* allows all languages again.
  • -l, --list: shows the permissions of the user. --roles shows all roles.
  • -e, --enable and -d, --disable: enable or disable the user.
  • -p, --password: sets the password of a new user instead of asking for it.

Backup and restore

Command
Description
cms:backup
Creates a ZIP file pagible-<tenant>-<date>.zip with the CMS data and files of one tenant; --tenant selects the tenant (default: the current one), --disk the storage disk (default local), --keep deletes the oldest backups of the tenant and --no-media skips the files
cms:restore [file]
Restores a backup into the tenant stored in the backup or the one passed with --tenant; --list shows the available backups, --verify only checks them, --merge updates existing data instead of replacing it, --media-only or --no-media restore only the files or only the data and --force skips the confirmation and accepts backups from other installations

Without --merge, cms:restore deletes all pages, elements and files of the target tenant before restoring the backup. The backups are signed with APP_KEY, so backups from an installation with another key are only restored with --force. They aren't encrypted, so store them on a private disk.

Checks

Command
Description
cms:schema:check [themes...]
Checks the schema.json files of the given themes, or of all registered themes, for errors
cms:cdn:check
Checks the CDN configuration; --send also purges a test URL
cms:cdn:purge [urls]
Purges URLs from the CDN; --all removes all content and --client selects the CDN clients
cms:webhooks:check
Checks the deny list, the operator endpoints, the delivery queue and the stored subscriptions
cms:cashier:check
Checks the payment setup

Imports

Command
Imports
Guide
cms:wp-import
WordPress posts as blog articles
cms:t3-import
TYPO3 pages with their content and translations
cms:drupal-import
Drupal 7 or newer nodes, menus and translations
cms:joomla-import
Joomla articles, menus and translations
cms:statamic-import
Statamic entries, assets and translations

The importers read the database of the other system through a Laravel database connection, which is set with --connection. All of them accept --dry-run to show the changes first and --since=2026-01-31 to import only the content changed since that date. The steps and options all importers share are described in Migrate to PagibleAI.

Audit logging

PagibleAI writes structured log entries of content changes, logins, permission changes and AI requests to a Laravel log channel. Logging is off by default and costs nothing while it's disabled. Enable it by naming the log channel:

CMS_LOG_CHANNEL=cms
# keep 10% of the search and JSON:API entries
CMS_WATCH_SAMPLE=0.1
# log email addresses, IP addresses and user agents unmasked
CMS_WATCH_ANONYMIZE=false

If the channel isn't defined in config/logging.php, PagibleAI creates a daily channel that writes JSON lines to storage/logs/cms.log and keeps them for 14 days. Define the channel yourself to send the entries to another destination, e.g. a log management service.

CMS_WATCH_ANONYMIZE is enabled by default and replaces email addresses, IP addresses and user agents by an HMAC-SHA256 hash keyed with APP_KEY. Equal values result in the same hash, so you can still group the entries of a user. CMS_WATCH_SAMPLE (0.0-1.0) only reduces the high-volume search and JSON:API entries; all other entries are always written.

Message
Written when
Fields
cms.page, cms.element, cms.file
Content is added, saved, moved, published, deleted, restored, purged or translated
type, action, ids, editor, source, published, tenant_id and path and domain for pages, langs for changes of several languages
cms.auth
A user logs in or out or a login fails
action, email, ip, user_agent, tenant_id
cms.user
Permissions or languages of a user change (level warning)
action, actor, target, target_id, assignments, langs, ip, user_agent, tenant_id
cms.ai
An AI request finishes or fails
mutation, provider, model, duration_ms, editor, success, error, input_tokens, output_tokens, tenant_id
cms.search
A visitor searches, requires CMS_THEME_WATCH=true
query, results, page, duration_ms, domain, lang, tenant_id
cms.contact
The contact form is sent, requires CMS_THEME_WATCH=true
email, ip, duration_ms, tenant_id
cms.jsonapi
A JSON:API request is answered, requires CMS_JSONAPI_WATCH=true
action, duration_ms, domain, includes, tenant_id

Every entry contains a request_id, which is taken from a valid X-Request-Id header or generated, so you can find all entries of one request. The source field of content changes is graphql for the admin panel and GraphQL clients, mcp for MCP clients and cli for commands and queued jobs. Empty fields are left out.

The cms.user entries are warnings. They are written to the default log channel if CMS_LOG_CHANNEL isn't set, so permission changes are always recorded. Logging errors never break a request; they are written to the PHP error log instead.

Benchmarks

The aimeos/pagible-benchmark package measures the performance of the packages during development. Install it with composer require --dev aimeos/pagible-benchmark. The benchmarks write to and delete from the CMS database, so never run them against production data.

Command
Description
cms:benchmark
Runs all benchmarks of the installed packages; --domain is required, --seed generates the benchmark data first (--pages, default 10000) and --unseed removes it again
cms:benchmark:<package>
Runs the benchmarks of one package: core, graphql, jsonapi, mcp, search or theme; requires the data seeded by cms:benchmark --seed

The benchmarks use the benchmark tenant unless you pass --tenant, and --tries sets the iterations of each benchmark (default 100). Each one prints the minimum, maximum, average, median and 90th percentile time and the peak memory usage. Add -v, -vv or -vvv to see the SQL timings, statements and query plans.