PHPackages                             rawphp/raw-yaml - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. rawphp/raw-yaml

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

rawphp/raw-yaml
===============

RawYaml is a wrapper around Symfony's Yaml Library and is used by RawPHP framework and other applications.

1.0.0-RC-3(11y ago)0689MITPHPPHP &gt;=5.3.0

Since Sep 21Pushed 11y ago2 watchersCompare

[ Source](https://github.com/rawphp/RawYaml)[ Packagist](https://packagist.org/packages/rawphp/raw-yaml)[ Docs](http://rawphp.org)[ RSS](/packages/rawphp-raw-yaml/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (7)Versions (5)Used By (0)

RawYaml - A Simple Symfony Yaml Wrapper Class for PHP Applications
==================================================================

[](#rawyaml---a-simple-symfony-yaml-wrapper-class-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/4d8f4fff15597e908f7aa2e984f4b215c16daca590fa3a4fb72b807aa4aa9a10/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f52617759616d6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawYaml) [![Coverage Status](https://camo.githubusercontent.com/a51c886b6420c0a252656740ac239cf07aaa1044379d36676c24b4c098c8b386/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7261777068702f52617759616d6c2f62616467652e706e67)](https://coveralls.io/r/rawphp/RawYaml)[![Latest Stable Version](https://camo.githubusercontent.com/a0476c54aded055c1efacef0f6c7a9e8f1cd20767317fc772d81adb3afb674cb/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d79616d6c2f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-yaml) [![Total Downloads](https://camo.githubusercontent.com/d42477a4db0ca1ea62d4b1b1e7be623abd54aaa468c6c432750a5e343aca81be/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d79616d6c2f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-yaml)[![Latest Unstable Version](https://camo.githubusercontent.com/f1ec737c50ef3483540ca78a260dc38c3580f63366366931268c1d0cf010fbe6/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d79616d6c2f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-yaml) [![License](https://camo.githubusercontent.com/a211af44f73d1496aff4c611a82d63d35711883b6f2ddb80bc4cd9c67be03453/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d79616d6c2f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-yaml)

[![SensioLabsInsight](https://camo.githubusercontent.com/983452fefb3bbd3319480cee341336d448def2f989ec5b515923de87f20d736f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37363138366234362d613731372d343761662d396635612d3638393462333665383362332f6269672e706e67)](https://insight.sensiolabs.com/projects/76186b46-a717-47af-9f5a-6894b36e83b3)

Package Features
----------------

[](#package-features)

- Load yaml files into arrays
- Save arrays as yaml files

Installation
------------

[](#installation)

### Composer

[](#composer)

RawYaml is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-yaml).

Add `"rawphp/raw-yaml": "1.0.0-RC-3"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-yaml": "1.0.0-RC-3"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-yaml "1.0.0-RC-3"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawYaml folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Basic Usage
-----------

[](#basic-usage)

```
