# Plugin Development

## Plugin structuur

```
plugins/MijnPlugin/
├── plugin.json         # Plugin metadata
├── plugin.php          # Plugin code
└── config.json         # Optionele configuratie
```

## plugin.json

```json
{
  "name": "Mijn Plugin",
  "version": "1.0.0",
  "author": "Jouw Naam",
  "description": "Beschrijving"
}
```

## plugin.php voorbeeld

```php
<?php
/**
 * Plugin: MijnPlugin
 */

echo '<div class="mijn-plugin">Hello World</div>';
```

## CMSAPI gebruiken

```php
<?php
require_once '../../cms/core/class/PluginManager.php';

$api = PluginManager::getAPI();
$config = $api->getConfig();
$content = $api->getContent();
```