PHPackages                             iserv/composertoolsinstaller - 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. iserv/composertoolsinstaller

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

iserv/composertoolsinstaller
============================

Allows to install tools as standalone Composer dependencies.

v1.11.0(3w ago)2301MITPHPPHP &gt;=8.2

Since Sep 28Pushed 6d ago5 watchersCompare

[ Source](https://github.com/IServ-GmbH/cotor)[ Packagist](https://packagist.org/packages/iserv/composertoolsinstaller)[ Docs](https://github.com/IServ-GmbH/cotor/)[ RSS](/packages/iserv-composertoolsinstaller/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (18)Versions (66)Used By (0)

Composer Tools Installer aka Cotor
==================================

[](#composer-tools-installer-aka-cotor)

How to use cotor
----------------

[](#how-to-use-cotor)

You can install any composer-based dev tool with cotor. It will install each package in a `tools` folder in your current working directory. For each tool a standalone folder named by the package without the vendor will be created.

### Commands

[](#commands)

- **list**: Lists all available commands.
- **install**: Installs all tools and extensions listed in your composer.json at `extra.cotor`.
- **install $name**: Installs a new tool. `$name` must be a tool's package or registered shortcut name.
- **update $name**: Updates an installed tool. `$name` must be a tool's package or registered shortcut name.
- **update-all**: Updates all installed tools.
- **outdated**: Lists all tools and checks if they are up to date.
- **extend $name $extension**: Installs a tool extension. `$name` must be a tool's package or registered shortcut name. `$extension` must be the package name of the extension.

### composer.json

[](#composerjson)

Cotor tracks your required tools in the extra section in your `composer.json` file:

```
{
  "extra": {
    "cotor": {
      "friendsofphp/php-cs-fixer": "^3.1",
      "phpstan/phpstan": "^1.5",
      "vimeo/psalm": "^4.10"
    }
  }
}
```

This way you can keep track of the tools and cotor can install them easily.

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

[](#configuration)

cotor can be configured using a `cotor.json` file in the project root.

Example:

```
{
  "php": "8.2.0",
  "repositories": [
    {
      "type": "composer",
      "url": "https://repo.example.com"
    }
  ],
  "sync": true
}
```

### Options

[](#options)

- `php`: (string, default: `null`) The PHP platform version to use for tool installations.
- `repositories`: (array, default: `[]`) Composer repositories to use for tool installations.
- `sync`: (boolean, default: `true`) Whether to automatically inherit `require.php` and `repositories` from the root `composer.json`.

Values in `cotor.json` will overwrite values inherited from `composer.json`.

How to build cotor
------------------

[](#how-to-build-cotor)

1. Ensure you've got `box` installed in your `$PATH`.
2. Run `box compile` to create a new `cotor.phar`.

`box` takes the latest git tag or hash to propagate this as the PHARs version. So be sure to hava a proper git history before running the command.

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance97

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity78

Established project with proven stability

 Bus Factor1

Top contributor holds 50.8% 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 ~36 days

Recently: every ~29 days

Total

49

Last Release

27d ago

PHP version history (3 changes)v1.0PHP &gt;=7.3

v1.4PHP &gt;=8.0

v1.9PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2e47096095e08fa7cc521826f5ab3c09f1c5ad7f9a0d26062a5aa31e0d0078b4?d=identicon)[iserv](/maintainers/iserv)

---

Top Contributors

[![althaus](https://avatars.githubusercontent.com/u/105975?v=4)](https://github.com/althaus "althaus (61 commits)")[![FelixJacobi](https://avatars.githubusercontent.com/u/25072300?v=4)](https://github.com/FelixJacobi "FelixJacobi (28 commits)")[![mitopp](https://avatars.githubusercontent.com/u/5371265?v=4)](https://github.com/mitopp "mitopp (19 commits)")[![DomSieIServ](https://avatars.githubusercontent.com/u/131360524?v=4)](https://github.com/DomSieIServ "DomSieIServ (7 commits)")[![KimBrodowski](https://avatars.githubusercontent.com/u/15917513?v=4)](https://github.com/KimBrodowski "KimBrodowski (3 commits)")[![DerWario](https://avatars.githubusercontent.com/u/23586381?v=4)](https://github.com/DerWario "DerWario (1 commits)")[![hype09](https://avatars.githubusercontent.com/u/6646802?v=4)](https://github.com/hype09 "hype09 (1 commits)")

---

Tags

composerphptoolingtools

### Embed Badge

![Health badge](/badges/iserv-composertoolsinstaller/health.svg)

```
[![Health](https://phpackages.com/badges/iserv-composertoolsinstaller/health.svg)](https://phpackages.com/packages/iserv-composertoolsinstaller)
```

###  Alternatives

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k199.6M3.4k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M28.0k](/packages/friendsofphp-php-cs-fixer)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k39.6k](/packages/matomo-matomo)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19467.3M1.9k](/packages/drupal-core)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M449](/packages/drupal-core-recommended)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.9k1](/packages/phpactor-phpactor)

PHPackages © 2026

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