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 5d 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

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2091d 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

[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[altis/local-server

Local Server module for Altis

18208.4k2](/packages/altis-local-server)

PHPackages © 2026

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