定制 scabbiafw/scabbia2-yaml 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

scabbiafw/scabbia2-yaml

最新稳定版本:v0.1.2

Composer 安装命令:

composer require scabbiafw/scabbia2-yaml

包简介

Scabbia2 Yaml Component

README 文档

README

This component is a YAML parser allows serialization and deserialization in YAML format.

Build Status Scrutinizer Code Quality Total Downloads Latest Stable Version Latest Unstable Version Documentation Status

Usage

Parsing a YAML file

use Scabbia\Yaml\Parser;

$file = file_get_contents('myConfig.yml');

$parser = new Parser();
$config = $parser->parse($file);

var_dump($config);

Writing a YAML file

use Scabbia\Yaml\Dumper;

$config = [
    'type' => 'mongo',
    'username' => 'eserozvataf',
    'password' => 'password'
];

$dumper = new Dumper();
$content = $dumper->dump($config);

file_put_contents('myConfig.yml', $content);

Links

Contributing

It is publicly open for any contribution. Bugfixes, new features and extra modules are welcome. All contributions should be filed on the eserozvataf/scabbia2-yaml repository.

  • To contribute to code: Fork the repo, push your changes to your fork, and submit a pull request.
  • To report a bug: If something does not work, please report it using GitHub issues.
  • To support: Donate

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2015-09-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固