Browser-based yaml editor, preferably in PHP?
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 Sou开发者_StackOverflowrce 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.
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
- Create a new Symfony-Project (For example YamlEditor)
- Install the Symfony-Plugin daYamlEditorPlugin
- Configure this plugin (see readme of the plugin) to use your YAML files.
Hope this helps
Have a look at AmyEditor which provides an embedded editor for external websites:
http://www.amyeditor.com/api/embed/test_eamy.html
精彩评论