PHPackages                             chrisdbrown/yaml-standardiser - 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. chrisdbrown/yaml-standardiser

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

chrisdbrown/yaml-standardiser
=============================

Yaml Standardiser

07PHP

Since May 1Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ChrisDBrown/yaml-standardiser)[ Packagist](https://packagist.org/packages/chrisdbrown/yaml-standardiser)[ RSS](/packages/chrisdbrown-yaml-standardiser/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yaml-standardiser
=================

[](#yaml-standardiser)

Apply some basic standards to your yaml files

Add to your project with `composer require --dev chrisdbrown/yaml-standardiser`

Run with `vendor/bin/yaml-standardiser file-to-edit.yaml file2.yaml`

Passing a directory will analyse all files with `.yml` or `.yaml` extensions in that directory and any subdirectories

### Currently implemented

[](#currently-implemented)

- top level key alphabetisation on single file
- multi-file support

### Todo

[](#todo)

- prioritise certain keys in ordering
- multi-level key alphabetisation
- indentation
- spacing between key blocks
- object standards
- set config by file
- improved reporting
- human-readable diff generation
- patch file generation

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/49618dfcad458888316edcb8e7db5373b698a0bf2aa71af6dd81b1a098d736f3?d=identicon)[ChrisDBrown](/maintainers/ChrisDBrown)

---

Top Contributors

[![ChrisDBrown](https://avatars.githubusercontent.com/u/3877652?v=4)](https://github.com/ChrisDBrown "ChrisDBrown (24 commits)")

### Embed Badge

![Health badge](/badges/chrisdbrown-yaml-standardiser/health.svg)

```
[![Health](https://phpackages.com/badges/chrisdbrown-yaml-standardiser/health.svg)](https://phpackages.com/packages/chrisdbrown-yaml-standardiser)
```

PHPackages © 2026

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