# Plugin Development ## Plugin structure ``` plugins/MyPlugin/ ├── plugin.json # Plugin metadata ├── plugin.php # Plugin code └── config.json # Optional configuration ``` ## plugin.json ```json { "name": "My Plugin", "version": "1.0.0", "author": "Your Name", "description": "Description" } ``` ## plugin.php example ```php Hello World'; ``` ## Using CMSAPI ```php getConfig(); $content = $api->getContent(); ```