PHPackages                             webuni/composer-yaml-plugin - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. webuni/composer-yaml-plugin

ActiveComposer-plugin[Parsing &amp; Serialization](/categories/parsing)

webuni/composer-yaml-plugin
===========================

Composer plugin to convert a composer.yaml to json or vice-versa.

2.1.0(8y ago)61.4k1[1 issues](https://github.com/webuni/composer-yaml-plugin/issues)MITPHPPHP ^5.5 || ^7.0

Since Oct 24Pushed 8y ago3 watchersCompare

[ Source](https://github.com/webuni/composer-yaml-plugin)[ Packagist](https://packagist.org/packages/webuni/composer-yaml-plugin)[ RSS](/packages/webuni-composer-yaml-plugin/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

Composer YAML Plugin
====================

[](#composer-yaml-plugin)

[![Packagist](https://camo.githubusercontent.com/c8fab275c4f07fb378ca993c4c887f5e659a0910adad1c3f0e782357f3336e35/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562756e692f636f6d706f7365722d79616d6c2d706c7567696e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/webuni/composer-yaml-plugin)[![Build Status](https://camo.githubusercontent.com/26c34082f891a6398215e523a95871747f1fa36766f7c0b321d2f406b4adab86/68747470733a2f2f7472617669732d63692e6f72672f776562756e692f636f6d706f7365722d79616d6c2d706c7567696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/webuni/composer-yaml-plugin)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c8581945f7305a89b8fb5ecac26beb6e3dd044cfb142291e374bdb7cc54b4ff9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562756e692f636f6d706f7365722d79616d6c2d706c7567696e2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/webuni/composer-yaml-plugin/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/9e40a9883c88f88c7b08ee109b9e2cee3d01c0b85577d1ae97de35ae2f3e5946/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f776562756e692f636f6d706f7365722d79616d6c2d706c7567696e2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/webuni/composer-yaml-plugin/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/6064b203d074fe860e95a4addbf3c600a5291cabfad9e7b791fed47e5ebb5783/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f35393263333830332d656336622d343638352d623438332d3763366262613065633930332e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/592c3803-ec6b-4685-b483-7c6bba0ec903)

This plugin allows you to convert a composer.yaml file into composer.json format. It will use those exact filenames of your current working directory.

Warning: If you already have a composer.json file, it will overwrite it.

Installation
------------

[](#installation)

```
composer global require webuni/composer-yaml-plugin

```

Usage
-----

[](#usage)

To convert from yaml (`composer.yaml` or `composer.yml`) to json (`composer.json`), run:

```
$ composer yaml-convert

```

To convert from json to yaml, run:

```
$ composer yaml-convert composer.json

```

Alternatives
------------

[](#alternatives)

-
-

License
-------

[](#license)

MIT License. See the LICENSE file.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% 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

Every ~217 days

Total

3

Last Release

3103d ago

Major Versions

1.0.0 → 2.0.02017-05-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/306adbad9084ed5c22aa85cbfce4899263466d76dff211b5c4c9f54dc23c40a1?d=identicon)[hason](/maintainers/hason)

---

Top Contributors

[![hason](https://avatars.githubusercontent.com/u/288535?v=4)](https://github.com/hason "hason (31 commits)")[![cmfcmf](https://avatars.githubusercontent.com/u/2145092?v=4)](https://github.com/cmfcmf "cmfcmf (1 commits)")

---

Tags

composercomposer-pluginyamlcomposeryaml

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/webuni-composer-yaml-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/webuni-composer-yaml-plugin/health.svg)](https://phpackages.com/packages/webuni-composer-yaml-plugin)
```

###  Alternatives

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[altis/local-server

Local Server module for Altis

18221.6k3](/packages/altis-local-server)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

43785.5k4](/packages/lullabot-drainpipe)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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