PHPackages                             cupoftea/composer-auto-normalize - 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. cupoftea/composer-auto-normalize

ActiveComposer-plugin

cupoftea/composer-auto-normalize
================================

Provides a composer plugin that automatically normalizes your composer.json on install or update

v1.1.0(6y ago)05MITPHPPHP ^7.1

Since Jun 11Pushed 6y agoCompare

[ Source](https://github.com/CupOfTea696/ComposerAutoNormalize)[ Packagist](https://packagist.org/packages/cupoftea/composer-auto-normalize)[ Docs](https://github.com/CupOfTea696/ComposerAutoNormalize)[ RSS](/packages/cupoftea-composer-auto-normalize/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Composer Auto Normalize
=======================

[](#composer-auto-normalize)

[![Latest Stable Version](https://camo.githubusercontent.com/fd750ce6e8f50fd370a436a7ca7adb097f51bba12355535aad8eb78218e66160/68747470733a2f2f706f7365722e707567782e6f72672f6375706f667465612f636f6d706f7365722d6175746f2d6e6f726d616c697a652f762f737461626c65)](https://packagist.org/packages/cupoftea/composer-auto-normalize)[![Total Downloads](https://camo.githubusercontent.com/d70a28804c921b473096d431506c43055ab6293c4c9e75414e498974d046affb/68747470733a2f2f706f7365722e707567782e6f72672f6375706f667465612f636f6d706f7365722d6175746f2d6e6f726d616c697a652f646f776e6c6f616473)](https://packagist.org/packages/cupoftea/composer-auto-normalize)[![Latest Unstable Version](https://camo.githubusercontent.com/c154ea6bc37dd045ffef7629b5606dd3b44a51b97223941d51a359da1e860dce/68747470733a2f2f706f7365722e707567782e6f72672f6375706f667465612f636f6d706f7365722d6175746f2d6e6f726d616c697a652f762f756e737461626c65)](https://packagist.org/packages/cupoftea/composer-auto-normalize)[![StyleCI](https://camo.githubusercontent.com/c8d604d08b3a8f546207b68e1f19cb7c475dc0bb5541d70eb3aaf09fee4d2a00/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3139313234313738322f736869656c643f7374796c653d666c6174)](https://github.styleci.io/repos/191241782)[![License](https://camo.githubusercontent.com/cccc171411d8401c044baa5a4412acfe73681801c09f4f687060aa22850c356b/68747470733a2f2f706f7365722e707567782e6f72672f6375706f667465612f636f6d706f7365722d6175746f2d6e6f726d616c697a652f6c6963656e7365)](./LICENSE)

Provides a composer plugin that extends [localheinz/composer-normalize](https://github.com/localheinz/composer-normalize), and automatically normalizes your composer.json on install or update.

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

[](#installation)

Composer Auto Normalize can be installed either globally, or as a per project installation. When using it in a project, we recommend installing it as a dev-dependency.

```
$ composer global require cupoftea/composer-auto-normalize
$ composer require --dev cupoftea/composer-auto-normalize
```

Usage
-----

[](#usage)

Once installed, your composer.json file will be normalized every time a composer install or update is executed. Because this plugin extends [localheinz/composer-normalize](https://github.com/localheinz/composer-normalize), you can also manually normalize your composer.json by running `composer normalize`.

Configuration
-------------

[](#configuration)

You can set any [arguments and options available](https://github.com/localheinz/composer-normalize#arguments) on the `composer normalize` command as a default for auto normalization. You can configure this both in your global composer.json, or per project in your project's composer.json file. Arguments should be set in `extra.auto-normalize` by their name, and options in `extra.auto-normalize.options`. For a full list of available arguments and options, see the [Composer Normalize Documentation](https://github.com/localheinz/composer-normalize#arguments).

```
{
    "extra": {
        "auto-normalize": {
            "options": {
                "indent-size": 2,
                "indent-type": "space"
            }
        }
    }
}
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

2

Last Release

2525d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2977bc0c1a9c62466102bce06ba22bca2897d5a0176087f2c6d8924e55f60c42?d=identicon)[CupOfTea696](/maintainers/CupOfTea696)

---

Top Contributors

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

---

Tags

plugincomposernormalizernormalize

### Embed Badge

![Health badge](/badges/cupoftea-composer-auto-normalize/health.svg)

```
[![Health](https://phpackages.com/badges/cupoftea-composer-auto-normalize/health.svg)](https://phpackages.com/packages/cupoftea-composer-auto-normalize)
```

###  Alternatives

[ergebnis/composer-normalize

Provides a composer plugin for normalizing composer.json.

1.1k37.3M2.1k](/packages/ergebnis-composer-normalize)[pyrech/composer-changelogs

Display changelogs after each composer update

5904.0M25](/packages/pyrech-composer-changelogs)[sllh/composer-lint

Extends the composer validate command with extra rules

14214.6k7](/packages/sllh-composer-lint)

PHPackages © 2026

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