Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Browser-based yaml editor, preferably in PHP?

Tags:

php

yaml

Does somebody know an installable on-line editor tool for YAML data structures, one that an end-user could use, preferably written in PHP?

No luck on the official yaml site.

Open Source would be nice; commercial is an option.

Clarification: What I need is a tool that shows each key/value pair of a YAML tree in a separate control to make it impossible for an end user to accidentally damage the file's data structure.

Update: Seeing as there seems to be nothing that readily comes to mind, I'm also interested if there is a Windows or Java client that can do this.

like image 698
Pekka Avatar asked Aug 04 '10 10:08

Pekka


2 Answers

There is no existing tool with this feature set you can use out of the box. The only option I see is to use a Plugin of the Symfony-Framework. This plugin has a UI for editing key/value pairs

  1. Create a new Symfony-Project (For example YamlEditor)
  2. Install the Symfony-Plugin daYamlEditorPlugin
  3. Configure this plugin (see readme of the plugin) to use your YAML files.

Hope this helps

like image 92
Timo Haberkern Avatar answered Nov 15 '22 06:11

Timo Haberkern


Have a look at AmyEditor which provides an embedded editor for external websites:

http://www.amyeditor.com/api/embed/test_eamy.html

like image 34
jeromegamez Avatar answered Nov 15 '22 06:11

jeromegamez