i want to create a widget and therefore should generate a yaml of an array. But it doesn’t work for me:
$data = array(‘username’ => ‘@example’);
$yaml = yaml::encode($data);
Whoops \ Exception \ ErrorException (E_ERROR)
Method Kirby\Panel\View::__toString() must not throw an exception, caught Error: Class ‘KirbyPluginInstaller\yaml’ not found
Thanks for your help!