|
|
12 years ago | |
|---|---|---|
| .. | ||
| Exception | 12 years ago | |
| Tests | 12 years ago | |
| CHANGELOG.md | 12 years ago | |
| Dumper.php | 12 years ago | |
| Escaper.php | 12 years ago | |
| Inline.php | 12 years ago | |
| LICENSE | 12 years ago | |
| Parser.php | 12 years ago | |
| README.md | 12 years ago | |
| Unescaper.php | 12 years ago | |
| Yaml.php | 12 years ago | |
| composer.json | 12 years ago | |
| phpunit.xml.dist | 12 years ago | |
YAML implements most of the YAML 1.2 specification.
use Symfony\Component\Yaml\Yaml;
$array = Yaml::parse($file);
print Yaml::dump($array);
You can run the unit tests with the following command:
phpunit