Symfony PHP YAML 库的扩展版本。

0.2.0 2016-02-24 23:17 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:36:49 UTC


README

Symfony PHP YAML 库的扩展版本。

Packagist Version GitHub license Build Status

安装

$ composer require radioactivehamster/yaml

使用方法

<?php

use RadHam\Yaml;

$yaml = '[hello, world]';
$data = Yaml::parse($yaml)

$file = 'hello-world.yml';
Yaml::parseFile($file);

许可协议

MIT 许可协议(Expat)。请参阅许可文件以获取详细信息。