You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since YAML is a pretty widespread configuration syntax, changing it e.g. in the course of a project upgrade is a key feature. Therefore, Fractor should support that.
There is the symfony/yaml library for decoding and encoding YAML, but that does not give us an AST, and it does not preserve any formatting options.
Apart from that, I did not find any PHP YAML libraries that offer more features in a quick search.
Since YAML is a pretty widespread configuration syntax, changing it e.g. in the course of a project upgrade is a key feature. Therefore, Fractor should support that.
There is the symfony/yaml library for decoding and encoding YAML, but that does not give us an AST, and it does not preserve any formatting options.
Apart from that, I did not find any PHP YAML libraries that offer more features in a quick search.
There is https://www.npmjs.com/package/yaml-ast-parser and a newer fork https://www.npmjs.com/package/@stoplight/yaml-ast-parser which seem to support the relevant features.
The text was updated successfully, but these errors were encountered: