PHPackages                             piotrpress/composer-formatter - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. piotrpress/composer-formatter

ActiveComposer-plugin[Validation &amp; Sanitization](/categories/validation)

piotrpress/composer-formatter
=============================

This Composer plugin formats (sorts and normalizes) composer.json and other JSON files according to defined rules.

v1.0.3(1mo ago)09↑2566.7%MITPHP &gt;=8.2

Since Apr 2Compare

[ Source](https://github.com/PiotrPress/composer-formatter)[ Packagist](https://packagist.org/packages/piotrpress/composer-formatter)[ Docs](https://github.com/PiotrPress/composer-formatter)[ RSS](/packages/piotrpress-composer-formatter/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/PiotrPress/composer-formatter).

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance90

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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 ~0 days

Total

4

Last Release

45d ago

PHP version history (2 changes)v1.0.0PHP &gt;=8.1

v1.0.1PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10326736?v=4)[Piotr Niewiadomski](/maintainers/PiotrPress)[@PiotrPress](https://github.com/PiotrPress)

---

Top Contributors

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

---

Tags

jsonformatterplugincomposernormalizestylenewlineformatlinterrulescommandspacesindentordertabslinebreakscrlfcrlf

### Embed Badge

![Health badge](/badges/piotrpress-composer-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/piotrpress-composer-formatter/health.svg)](https://phpackages.com/packages/piotrpress-composer-formatter)
```

###  Alternatives

[seld/jsonlint

JSON Linter

1.3k217.8M205](/packages/seld-jsonlint)[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[dragon-code/codestyler

A tool to automatically fix Coding Style Standards issues by The Dragon Code.

291.8M16](/packages/dragon-code-codestyler)[leroy-merlin-br/coding-standard

The coding standard for PHP projects on LMBR

2137.0k10](/packages/leroy-merlin-br-coding-standard)[ellisio/laravel-phone

A phone validator for Laravel using the free Twilio phone lookup service.

1130.0k](/packages/ellisio-laravel-phone)

PHPackages © 2026

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