Plugin Manifest
Complete Schema
{
"name": "my-plugin",
"display_name": "My Awesome Plugin",
"version": "1.0.0",
"author": "Your Name <[email protected]>",
"description": "A comprehensive plugin that extends PteroCA with custom functionality",
"license": "MIT",
"pteroca": {
"min": "0.6.0",
"max": "1.0.0"
},
"capabilities": [
"routes",
"entities",
"migrations",
"ui",
"eda",
"console",
"cron"
],
"requires": {
"other-plugin": "^1.0",
"another-plugin": ">=2.0.0"
},
"bootstrap_class": "Plugins\\MyPlugin\\Bootstrap",
"config_schema": {
"api_key": {
"type": "password",
"required": true,
"default": "",
"label": "API Key",
"help": "Your API key from the service provider",
"hierarchy": "general"
},
"api_endpoint": {
"type": "string",
"required": false,
"default": "https://api.example.com",
"label": "API Endpoint",
"help": "Custom API endpoint URL",
"hierarchy": "advanced"
},
"enabled_features": {
"type": "select",
"required": false,
"default": "basic",
"options": {
"basic": "Basic Features",
"advanced": "Advanced Features",
"premium": "Premium Features"
},
"label": "Feature Level",
"hierarchy": "general"
},
"debug_mode": {
"type": "boolean",
"required": false,
"default": false,
"label": "Debug Mode",
"help": "Enable detailed logging for troubleshooting",
"hierarchy": "advanced"
}
},
"assets": {
"css": [
"css/styles.css",
"css/admin.css"
],
"js": [
"js/script.js",
"js/admin.js"
],
"img": [
"images/logo.svg",
"images/icon.png"
]
}
}Field Descriptions
Basic Information
PteroCA Version Requirements
Capabilities
Dependencies
Bootstrap Class
Configuration Schema
Assets
Naming Conventions
Convention Table
Element
Convention
Example
Notes
Examples
Related Guides
Last updated