PHPackages                             youwe/composer-unclog-plugin - 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. youwe/composer-unclog-plugin

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

youwe/composer-unclog-plugin
============================

Shows warnings if you can optimise your composer files even further.

1.2.0(4y ago)01proprietaryPHPPHP ^7.1

Since Nov 15Pushed 4y agoCompare

[ Source](https://github.com/YouweGit/composer-unclog-plugin)[ Packagist](https://packagist.org/packages/youwe/composer-unclog-plugin)[ RSS](/packages/youwe-composer-unclog-plugin/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (2)Versions (8)Used By (0)

Summary
=======

[](#summary)

This package contains a plugin for composer. The plugin detects optimisations for the `composer.json` file of a project. The plugin hooks in on existing composer commands.

Installation
============

[](#installation)

The package can be installed with:

```
composer require youwe/composer-unclog-plugin -dev

```

Configuration
=============

[](#configuration)

The plugin can be configured to allow more repository types. This is possible by adding a `add-allowed-repositories` array node to the `config` node of the project. The configuration will look like:

```
...
    "config": {
        "add-allowed-repositories": [
            "git"
        ],
        "sort-packages": true
    },
...

```

The repository types are then added to the array of allowed repository types in the plugin.

Usage
=====

[](#usage)

By running one of the following commands, the plugin will perform additional checks for the `composer.json` file.

```
composer validate
composer install
composer update

```

Current checks
==============

[](#current-checks)

- Check if all repositories are of type `composer`.
- Check if all packages have version numbers instead of `dev-` packages.

Future ideas
============

[](#future-ideas)

- Add commands to suggestions to fix the problem (`composer optimize --repositories`).
- Detect if the package is available on a repository and do a suggestion.
- Detect which packages are being used from a non composer repository and check if it can be installed through another configured repository.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

5

Last Release

1548d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d1aea28c806322edb89f68278b28e8e95d5daeff723b442fa6eef3449c2b7fe8?d=identicon)[youweagency](/maintainers/youweagency)

---

Top Contributors

[![ashokadewit](https://avatars.githubusercontent.com/u/45412158?v=4)](https://github.com/ashokadewit "ashokadewit (4 commits)")[![l-helmus-youwe](https://avatars.githubusercontent.com/u/211521009?v=4)](https://github.com/l-helmus-youwe "l-helmus-youwe (3 commits)")[![marcelmediact](https://avatars.githubusercontent.com/u/32926910?v=4)](https://github.com/marcelmediact "marcelmediact (2 commits)")[![leonhelmus](https://avatars.githubusercontent.com/u/18070887?v=4)](https://github.com/leonhelmus "leonhelmus (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/youwe-composer-unclog-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/youwe-composer-unclog-plugin/health.svg)](https://phpackages.com/packages/youwe-composer-unclog-plugin)
```

###  Alternatives

[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

2994.3M14](/packages/vaimo-composer-patches)[mglaman/composer-drupal-lenient

1317.4M15](/packages/mglaman-composer-drupal-lenient)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5341.9M440](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2122.6M172](/packages/drupal-core-project-message)[olvlvl/composer-attribute-collector

A convenient and near zero-cost way to retrieve targets of PHP 8 attributes

184108.8k8](/packages/olvlvl-composer-attribute-collector)[lullabot/drainpipe

An automated build tool to allow projects to have a set standardized operations scripts.

41716.4k2](/packages/lullabot-drainpipe)

PHPackages © 2026

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