PHPackages                             json2yaml/cmd - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. json2yaml/cmd

ActiveProject[Utility &amp; Helpers](/categories/utility)

json2yaml/cmd
=============

json data to yaml data or yaml data to json data

v1.0(5y ago)07Apache-2.0PHP

Since Aug 25Pushed 5y ago1 watchersCompare

[ Source](https://github.com/JLynnLee/json2yaml-cmd)[ Packagist](https://packagist.org/packages/json2yaml/cmd)[ RSS](/packages/json2yaml-cmd/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

json与yaml格式转换小工具
================

[](#json与yaml格式转换小工具)

```
$ conv

转换数据格式小工具

Usage:
 conv [flags]
 conv [command]

Available Commands:
 help        Help about any command
 json        转json
 yaml        转yaml

Flags:
 -h, --help              help for conv
 -I, --in-file string    待转换的文件地址
 -O, --out-file string   转换后的文件地址

```

### json,yaml 互转

[](#jsonyaml-互转)

```
#输出yaml内容
conv yaml -I a.json

#输出到文件
conv yaml -I a.json -O b.yaml
conv yaml --in-file=a.json --out-file=b.yaml

# 通过重定义传入
conv yaml < a.json

# 通过管道传入
cat a.json | conv yaml

# yaml 转 json
conv json -I a.yaml -O b.json

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2139d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ba321290e3a9a55027f352c6bf0e7d3a1e3ba503d2710a3ce5248dc228015245?d=identicon)[jlynnlee](/maintainers/jlynnlee)

---

Top Contributors

[![JLynnLee](https://avatars.githubusercontent.com/u/31976638?v=4)](https://github.com/JLynnLee "JLynnLee (5 commits)")

### Embed Badge

![Health badge](/badges/json2yaml-cmd/health.svg)

```
[![Health](https://phpackages.com/badges/json2yaml-cmd/health.svg)](https://phpackages.com/packages/json2yaml-cmd)
```

###  Alternatives

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103519.9k53](/packages/friendsoftypo3-content-blocks)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
