PHPackages                             petr-heinz/yaml-tools - 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. petr-heinz/yaml-tools

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

petr-heinz/yaml-tools
=====================

A tool for easier maintenance of YAML config files.

02PHP

Since Nov 13Pushed 1y ago1 watchersCompare

[ Source](https://github.com/PetrHeinz/yaml-tools)[ Packagist](https://packagist.org/packages/petr-heinz/yaml-tools)[ RSS](/packages/petr-heinz-yaml-tools/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

YAML Tools
==========

[](#yaml-tools)

[![Build Status](https://camo.githubusercontent.com/828257554028bc9cd33a7e1dd9f58ed7bd188d5cf0f5aa9e9024fe39fe2e50b4/68747470733a2f2f7472617669732d63692e6f72672f506574724865696e7a2f79616d6c2d746f6f6c732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PetrHeinz/yaml-tools)[![PHPStan](https://camo.githubusercontent.com/8200e616fde4404cb348e95bb987c65291059e5f89521837e88fc4436073298c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e737667)](https://github.com/phpstan/phpstan)[![Latest Stable Version](https://camo.githubusercontent.com/581d341c7bb9bb18f1e1246d8065aba88d73f5e39aa46cde2d34c0c30f79c030/68747470733a2f2f706f7365722e707567782e6f72672f706574722d6865696e7a2f79616d6c2d746f6f6c732f762f737461626c65)](https://packagist.org/packages/petr-heinz/yaml-tools)[![License](https://camo.githubusercontent.com/7d26cdeeec834dfdeb942b84f316e56c6c2d3d376803a4f6183b6fa86e707e92/68747470733a2f2f706f7365722e707567782e6f72672f706574722d6865696e7a2f79616d6c2d746f6f6c732f6c6963656e7365)](https://packagist.org/packages/petr-heinz/yaml-tools)

Tool that will one day help developers with maintaining their YAML configs.

First, it will get your configs alphabetically sorted automatically. To see why you would want to do that, you can read about [YAML file sort checker](https://github.com/mhujer/yaml-sort-checker) on [Martin Hujer's blog](https://blog.martinhujer.cz/yaml-sort-checker/).

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

[](#installation)

```
composer require --dev petr-heinz/yaml-tools:@dev

```

Usage
-----

[](#usage)

```
vendor/bin/yaml-tools fix

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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/62c9e9684daf726be192fb703e3aff2b3d9e03e3fc647468c823aaa615563a47?d=identicon)[PetrHeinz](/maintainers/PetrHeinz)

---

Top Contributors

[![PetrHeinz](https://avatars.githubusercontent.com/u/10008612?v=4)](https://github.com/PetrHeinz "PetrHeinz (16 commits)")

### Embed Badge

![Health badge](/badges/petr-heinz-yaml-tools/health.svg)

```
[![Health](https://phpackages.com/badges/petr-heinz-yaml-tools/health.svg)](https://phpackages.com/packages/petr-heinz-yaml-tools)
```

###  Alternatives

[hiqdev/hidev

Automation tool mixed with code generator for easier continuous development

3229.4k28](/packages/hiqdev-hidev)[hiqdev/yii2-collection

Collection library for Yii2

1044.8k6](/packages/hiqdev-yii2-collection)

PHPackages © 2026

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