PHPackages                             vardot/composer-optimizer - 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. vardot/composer-optimizer

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

vardot/composer-optimizer
=========================

Composer plugin for removing development files.

1.0.0-alpha1(1y ago)24MITPHPPHP ^8.1

Since Jul 18Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Vardot/composer-optimizer)[ Packagist](https://packagist.org/packages/vardot/composer-optimizer)[ Docs](https://github.com/Vardot/composer-optimizer)[ RSS](/packages/vardot-composer-optimizer/feed)WikiDiscussions master Synced 1mo ago

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

> # Composer Optimizer
>
> [](#composer-optimizer)
>
> [Composer](https://getcomposer.org) plugin for removing development files and more upcoming.

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

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

[](#installation)

- Add repository
- Install package
- Trust/Allow the plugin
- Configure it according to [documentation](docs)

### Sample composer.json file

[](#sample-composerjson-file)

```
{
    "name": "org/name",
    "repositories": {
        "composer-optimizer": {
            "type": "vcs",
            "url": "git@github.com:Vardot/composer-optimizer.git"
        }
    },
    "require": {
        "vardot/composer-optimizer": "^1.0@dev"
    },
    "config": {
        "vardot/composer-optimizer": {
            "clear": {
                "*" : "[docs]"
            }
        },
        "allow-plugins": {
            "vardot/composer-optimizer": true
        }
    },
    "extra": {
        "dev-files": {
            "docs": [
                "LICENSE.txt",
                "README.txt",
                "CHANGELOG.txt"
            ]
        }
    }
}
```

Development
-----------

[](#development)

```
$ git clone git@github.com:/composer-optimizer.git
$ cd cleaner && composer install
$ git remote add upstream git@github.com:vardot/composer-optimizer.git
```

Notes
-----

[](#notes)

- Tested on PHP 5.3, 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 8.1

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 74.7% 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

Unknown

Total

1

Last Release

669d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1641992?v=4)[Rajab Natshah](/maintainers/Natshah)[@Natshah](https://github.com/Natshah)

![](https://www.gravatar.com/avatar/0a7204f4105511c0cbdfa7f4bf05ce8d7ddb14b26053a1b50e17895c23da12b4?d=identicon)[vardot-devops](/maintainers/vardot-devops)

---

Top Contributors

[![kamilsk](https://avatars.githubusercontent.com/u/1165416?v=4)](https://github.com/kamilsk "kamilsk (62 commits)")[![falkenhawk](https://avatars.githubusercontent.com/u/14310995?v=4)](https://github.com/falkenhawk "falkenhawk (5 commits)")[![marcing](https://avatars.githubusercontent.com/u/190209?v=4)](https://github.com/marcing "marcing (5 commits)")[![partikus](https://avatars.githubusercontent.com/u/1732227?v=4)](https://github.com/partikus "partikus (5 commits)")[![emircanerkul](https://avatars.githubusercontent.com/u/11430795?v=4)](https://github.com/emircanerkul "emircanerkul (3 commits)")[![vd-eerkul](https://avatars.githubusercontent.com/u/172473522?v=4)](https://github.com/vd-eerkul "vd-eerkul (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vardot-composer-optimizer/health.svg)

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

###  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.3M16](/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.9M446](/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)
