plumphp/plum-yaml 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

plumphp/plum-yaml

最新稳定版本:v0.1

Composer 安装命令:

composer require plumphp/plum-yaml

包简介

PlumYaml integrates Symfony Yaml component into Plum.

README 文档

README

Plum

PlumYaml integrates Symfony Yaml component into Plum. Plum is a data processing pipeline for PHP.

Latest Version Build Status Scrutinizer Code Quality Code Coverage StyleCI

Developed by Florian Eckerstorfer in Vienna, Europe.

Installation

You can install PlumYaml using Composer.

$ composer require plumphp/plum-yaml

Usage

Please refer to the Plum documentation for more information about using Plum in general.

PlumYaml contains two converters. Plum\PlumYaml\YamlDumpConverter converts an array into YAML and Plum\PlumYaml\YamlParseConverter converts YAML into an array.

use Plum\PlumYaml\YamlDumpConverter;
use Plum\PlumYaml\YamlParseConverter;

$dumpConverter = new YamlDumpConverter();
$dumpConverter->convert(['foo' => 'bar'); // -> "foo: bar"

$parseConverter = new YamlParseConverter();
$parseConverter->convert('foo: bar'); // -> ["foo" => "bar"]

Change Log

Version 0.1 (17 May 2015)

  • Initial release

License

The MIT license applies to plumphp/plum-yaml. For the full copyright and license information, please view the LICENSE file distributed with this source code.

统计信息

  • 总下载量: 23
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-29