Skip to content

Manifest reference

Every Capell package ships a capell.json file at its root. The tables below cover every top-level key read by CapellManifestData for manifest version 3.

Use the JSON Schema for field types, allowed values and object shapes. Add "$schema": "https://capell.app/schema/capell-manifest-v3.schema.json" to capell.json to enable editor completion. The tables also include the editor’s optional $schema metadata.

The Required column describes valid manifests. The Default column shows what Capell uses when an optional key is absent. Required fields must be supplied. For a working example, see Package anatomy.

KeyRequiredTypeDefaultAllowed values and purpose
$schemaNostring—Points editors to the JSON Schema.
manifest-versionYesinteger—Identifies the manifest format. The only allowed value is 3.
nameYesstring—The Composer package name, such as acme/capell-gallery. It must match name in the package’s composer.json.
slugYesstring—Short package identifier. Use at least two lowercase letters, digits or hyphens, starting and ending with a letter or digit.
displayNameYesstring—Non-empty name shown in the installer, the admin Extensions page and Marketplace.
kindYesstring—Classifies the extension as package, plugin, theme, integration or bundle.
capellApiVersionYesstring—The Composer version constraint for the Capell extension API the package supports. See Extension API versioning.
versionYesstring—The package version as a non-empty string.
descriptionNostringnullOne-line description shown with the package.
documentationUrlNostringComposer support.docs, then nullURI for the package documentation, stored on the package registry entry.
visibilityNostring"catalogue"Use catalogue to list the package as a product choice or support to hide it as a standalone choice while allowing installation through dependencies.supports.
launchStatusNostring"shipped"Use shipped for a released package, preview to list it with a Preview badge, or hidden to keep it off every public listing until it is ready.
namespaceNostring or nullnullRoot PHP namespace, such as Acme\Gallery\. Consumers of the resolved namespace can infer it from the first suitable provider class.
productYesobject—group, tier (free, premium or core) and an optional bundle. See Package product groups.
KeyRequiredTypeDefaultAllowed values and purpose
surfacesYeslist of strings—The surfaces the package takes part in: content, admin, frontend, workflow, delivery, operations, integrations, marketplace, console or shared.
dependenciesYesobject—requires, supports and conflicts, each a list of Composer package names. See Package anatomy.
providersYesobject—Service provider classes in the buckets metadata, install, runtime, auth, admin and frontend. Every bucket except auth must be present. See Lifecycle provider buckets.
runtimeNostring"blade"Runtime label used by the package capability graph, which recognises livewire. The field accepts a string.
scopesNolist of strings[]backend, frontend or both. Capell copies them to the package registry entry. Use surfaces to declare runtimes; most packages leave scopes out.
orderNointeger0Sets the package sort position in the registry.
installPathNostring or nullComposer install path, then nullInternal package filesystem location. The install path passed to the loader takes precedence. Leave this key out of authored manifests.
KeyRequiredTypeDefaultAllowed values and purpose
actionsNoobjectEmpty mapClass-strings implementing PackageLifecycleAction for install, uninstall, setup and afterInstall. A web-triggered install needs these. See Lifecycle: actions and commands.
commandsNoobjectEmpty mapLegacy artisan command names for lifecycle phases, plus doctor, which capell:doctor runs. Web-triggered installs refuse a package that declares only commands.
databaseNoobjectEmpty mapmigrations and settings (booleans) say whether installing runs migrations or settings migrations; requiredTables lists tables the readiness report checks for.
installNoobjectEmpty tips and legacyTables liststips shown in the hand-off at the end of an install, and legacyTables the installer’s table-collision check treats as belonging to this package.
demoNobooleanfalseMarks a demo-content package for selection when demo content is requested.
defaultSelectedNobooleanfalsePreselects the package in the installer.
rolesNolist of strings[]Jobs the package performs for Core, so Core finds it by role instead of by name: default-theme, workflow-final, developer-tooling, site-social-fields or scaffold-full-profile.
rolePriorityNointeger0Breaks ties between packages that share a role. Lower values sort first.
KeyRequiredTypeDefaultAllowed values and purpose
contributesYeslist of objects—Each extension contribution the package registers, such as a page type, content widget or route. See Extension point API reference.
contributionTraceabilityNoobject or empty listnullMaps declared contributions to runtime wiring for capell:extension-audit. Use contributions, deferredContributions and runtimeIntegrations inside the object.
settingsNolist of strings[]Settings classes the package owns.
permissionsNolist of strings[]Permission names the package defines. Admin permission sync creates them.
capabilitiesNolist of strings[]Capability names the package offers; capell:extension-audit reports names Core does not know.
capabilityContractsNoobjectnullprovides and consumes, each mapping a Core capability contract to the major version used. See Capability contracts.
healthChecksYeslist of objects—Each has key, label and class; the class implements ChecksExtensionHealth. Use [] when the package has none.
agent_toolsNolist of objects, "none" or objectNo tools or waiverTools an AI agent may run. Each declaration has name (a lowercase dotted identifier), description or descriptionKey, inputSchema, outputSchema, effect (read or write), binding (type and target) and an optional ownerPackage. "none" with agent_tools_reason declares that the package has no such tools. The object forms {"tools": [...]} and {"none": true, "reason": "..."} are also accepted.
agent_tools_reasonConditionalstringnullExplains why the package offers no agent tools. A non-blank string is required when agent_tools is "none". The object waiver uses its own reason.
KeyRequiredTypeDefaultAllowed values and purpose
themeKeyNostring or nullnullThe theme’s key. capell:extension-audit reports an error for a theme without one. See Creating custom themes.
extendsNostring or nullnullThe Composer name or theme key of a parent. Capell adds the parent’s views after the child’s and fails if the parent is missing.
KeyRequiredTypeDefaultAllowed values and purpose
securityNoobjectnullriskTier, publicSurface, sensitiveData, publicOutput, externalHttpClients, throttles, manual and adminSurface: what the package exposes, for capell:extension-audit and Marketplace review.
performanceYesobject—frontendRenderBudgetMs, adminQueryBudget, cacheTags and cacheSafety. See Manifest values and cache safety.
privacyNoobjectEmpty purposes mapMaps the names in purposes to functional, preferences, analytics or marketing. See Consent purposes.
KeyRequiredTypeDefaultAllowed values and purpose
commercialYesobject—proposedLicense, requestedCertification, supportPolicy and privateDocsRequested. Use the licence, certification and support policy values listed in the schema. Marketplace review decides the licence and certification.
marketplaceYesobject—Provides listing copy and media through summary, categories and screenshots, with optional problem, outcome and faq. Set hidden to true to hide the listing. It defaults to false.

ManifestReferenceTest compares the documented and schema keys with the validator’s accepted keys and checks the schema properties against the keys read by CapellManifestData::fromArray(). Update the reference and schema alongside any change to the manifest fields. Keep the editor’s $schema pointer in the schema’s metadata pattern.