PHPackages                             wp-cli/mustangostang-spyc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. wp-cli/mustangostang-spyc

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

wp-cli/mustangostang-spyc
=========================

A simple YAML loader/dumper class for PHP (WP-CLI fork)

0.6.6(2mo ago)616.6M↑25.4%37MITPHPPHP &gt;=5.3.1

Since Feb 21Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/wp-cli/spyc)[ Packagist](https://packagist.org/packages/wp-cli/mustangostang-spyc)[ Docs](https://github.com/mustangostang/spyc/)[ RSS](/packages/wp-cli-mustangostang-spyc/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (7)

`mustangostang/spyc` WP-CLI fork
================================

[](#mustangostangspyc-wp-cli-fork)

This is a fork of the [`mustangostang/spyc`](https://github.com/mustangostang/spyc) package, under a different name to avoid potential security issues.

See [`wp-cli/wp-cli#4017`](https://github.com/wp-cli/wp-cli/issues/4017) for more information.

***Original documentation follows below:***

---

**Spyc** is a YAML loader/dumper written in pure PHP. Given a YAML document, Spyc will return an array that you can use however you see fit. Given an array, Spyc will return a string which contains a YAML document built from your data.

**YAML** is an amazingly human friendly and strikingly versatile data serialization language which can be used for log files, config files, custom protocols, the works. For more information, see .

Spyc supports YAML 1.0 specification.

Using Spyc
----------

[](#using-spyc)

Using Spyc is trivial:

```
