PHPackages                             mleko/wingman - 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. mleko/wingman

ActiveLibrary

mleko/wingman
=============

Sort composer.json based on the well-known composer.json keys

v0.3.1(6y ago)3661[1 issues](https://github.com/mleko/wingman/issues)MITPHPPHP ^7.0

Since Aug 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/mleko/wingman)[ Packagist](https://packagist.org/packages/mleko/wingman)[ Docs](https://github.com/mleko/wingman)[ RSS](/packages/mleko-wingman/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (7)Dependencies (4)Versions (8)Used By (0)

mleko/wingman
=============

[](#mlekowingman)

Sort composer.json based on the well-known composer.json keys. List and order of keys is derived from composer [docs](https://getcomposer.org/doc/04-schema.md).

[![Build Status](https://camo.githubusercontent.com/060a5d8e43ca3a85b9f9cfa43cd7e307777ab80847661f176e282f5cea206375/68747470733a2f2f7472617669732d63692e6f72672f6d6c656b6f2f77696e676d616e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mleko/wingman)

CLI usage
---------

[](#cli-usage)

Install `mleko/wingman` as global package

```
$ composer global require mleko/wingman

```

Format specific `composer.json` file

```
$ wingman format /project-dir/composer.json
Formatting file: /project-dir/composer.json

```

Format `composer.json` in current directory

```
$ cd /project-dir
$ wingman
Formatting file: ./composer.json

```

Composer script
---------------

[](#composer-script)

Install `mleko/wingman` as dependency

```
$ composer require --dev mleko/wingman
$ vendor/bin/wingman --register
Register wingman in file: ./composer.json
Wingman registered
Formatting file: ./composer.json

```

`composer.json` will be reformatted after every package update.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Every ~165 days

Recently: every ~246 days

Total

7

Last Release

2205d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b0ad34ad22fcfe0a463f97d03652075b2a8b698552513b5e1efddb4b8afd2bb?d=identicon)[mleko](/maintainers/mleko)

---

Top Contributors

[![mleko](https://avatars.githubusercontent.com/u/2631527?v=4)](https://github.com/mleko "mleko (32 commits)")

---

Tags

composercomposer-jsonformatsortwingmanformatsortcomposer.json

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mleko-wingman/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

5953.3M56](/packages/roave-backward-compatibility-check)[wsdltophp/packagegenerator

Generate hierarchical PHP classes based on a WSDL

4351.9M19](/packages/wsdltophp-packagegenerator)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)

PHPackages © 2026

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