Shared utility classes for Kirby Tools plugins. This package provides common model and field resolution logic used across multiple plugins to avoid ambiguous class resolution when multiple plugins are installed together.
Resolves Kirby CMS models from different identifier formats:
resolveFromId: Resolves a model from a model ID (e.g.,site,page-id,file-id)resolveFromPath: Resolves a model from a Panel view path (e.g.,site,pages/xxx,pages/xxx/files/yyy)
Resolves blueprint fields from Kirby models:
resolveModelFields: Creates a Kirby Form from the model's blueprint fields and returns field properties (excludingtitle,slug, and field values)
Normalizes blueprint field definitions to their base types:
resolveBaseType: Resolves a custom field type to its standard base type by following theextendschainnormalizeFields: Normalizes a fields array, recursing into nested fields andfieldsets[*].tabs[*].fields
AGPL License © 2026-PRESENT Johann Schopplich