net_bazzline/php_configuration_format_converter 问题修复 & 功能扩展

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

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

net_bazzline/php_configuration_format_converter

Composer 安装命令:

composer require net_bazzline/php_configuration_format_converter

包简介

php that converts following configuration formats: xml, php array, yaml, json

README 文档

README

A cli tool to convert files from and to yaml, json, xml or php array

Install

Install it via: * git clone https://github.com/stevleibelt/php_configuration_format_converter * composer and packagist.org "net_bazzline/php_configuration_format_converter": "dev-master"

Usage

Simple switch to the directory via console and typ bin/net_bazzline_configuration_format_converter.php. This will display the help screen.

To start converting, add source and destination behind the command convert.

bin/net_bazzline_configuration_format_converter.php convert my/source/file.yaml my/destination/file.php

The tool decides on the given file extension how he has to handle the conversation. File extensions can be uppercase, lowercase, whatevercase.

Supported formats

Right now, the following formares are supported: * YAML * XML * JSON * php array

Examples

Take a look to the directory examples to just start playing arround.

Notes

The converter will stop working if destination file already exists.
If you want to overwrite that file, you have to add the option --force.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPLv3
  • 更新时间: 2013-06-05

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固