PHPackages                             tm/composer-tool-installer-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. tm/composer-tool-installer-plugin

AbandonedArchivedComposer-plugin

tm/composer-tool-installer-plugin
=================================

composer plugin to manage needed tools, such as PHPUnit or PhantomJS.

0.1.0(9y ago)5601[1 PRs](https://github.com/tommy-muehle/composer-tool-installer-plugin/pulls)MITPHPPHP &gt;=5.6.0

Since Nov 7Pushed 8y ago3 watchersCompare

[ Source](https://github.com/tommy-muehle/composer-tool-installer-plugin)[ Packagist](https://packagist.org/packages/tm/composer-tool-installer-plugin)[ Docs](https://github.com/tommy-muehle/composer-tool-installer-plugin)[ RSS](/packages/tm-composer-tool-installer-plugin/feed)WikiDiscussions master Synced 2mo ago

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

=======

composer-tool-installer-plugin
==============================

[](#composer-tool-installer-plugin)

[![Minimum PHP Version](https://camo.githubusercontent.com/86e7d829a466cacd5658a22073e27d49d39dac72cc18216ac4963ed5463c5bbc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)

> Install project requirements with composer

This plugin is the right choice if your composer-project requires some extra binaries (own Go-Lang binaries) or an special toolset for testing (PHPUnit, PhantomJS, ...) or some tools for QA control (phpcs, phpmd, security-checker, ...).

With this plugin you can manage all this stuff in your project composer.json file. So you can be sure that all developers in your project get the required files in the needed version, optional with GPG signature or Pub-Key verification for each requirement.

Every required file will be saved in the [composer binary directory](https://getcomposer.org/doc/articles/vendor-binaries.md)

> This plugin is heavily inspired on [tooly-composer-script](https://github.com/tommy-muehle/tooly-composer-script) - PHAR management with composer

Requirements
------------

[](#requirements)

- PHP &gt;= 5.6
- composer

Install
-------

[](#install)

```
composer require tm/composer-tool-installer-plugin

```

Or if you want to use it in multiple projects:

```
composer global require tm/composer-tool-installer-plugin

```

Usage
-----

[](#usage)

The composer.json scheme has a part "extra" which is used in this plugin. Its described [here](https://getcomposer.org/doc/04-schema.md#extra).

To add a requirement (tool or binary) you can add this manually (see section below) to the project composer.json file or you can use the composer CLI. Every time you use the command the given values are saved, in the composer cache directory, and are proposed on the next time.

```
composer tool-installer:install

```

If you want to see the current configuration simply run:

```
composer tool-installer:show

```

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

[](#configuration)

You can find a sample configuration [here](composer.json#L60-L78). The complete configuration options are described in the [wiki](https://github.com/tommy-muehle/composer-tool-installer-plugin/wiki/Configuration-parameters).

### Examples

[](#examples)

- \[PHPUnit\] with GPG verification

```
{
    ...
    "extra": {
        "tools": {
            "phpunit": {
                "url": "https://phar.phpunit.de/phpunit-5.6.1.phar",
                "sign-url": "https://phar.phpunit.de/phpunit-5.6.1.phar.asc",
            }
        }
    }
    ...
}

```

- \[humhub\] with needed pub-key

```
{
    ...
    "extra": {
        "tools": {
            "humbug": {
                "url": "https://github.com/padraic/humbug/releases/download/1.0.0-alpha2/humbug.phar",
                "key-url": "https://github.com/padraic/humbug/releases/download/1.0.0-alpha2/humbug.phar.pubkey",
            }
        }
    }
    ...
}

```

- \[own binary\] not only for developing

```
{
    ...
    "extra": {
        "tools": {
            "my-binary": {
                "url": "https://my-package-server/my-binary.bin",
                "only-dev": false
            }
        }
    }
    ...
}

```

Contribution
------------

[](#contribution)

Please refer to [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3471d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/618c748bc15b0e91e6280fcf687e28c1afaeb36335d634372d85f7eba3f0cf4f?d=identicon)[tommymuehle](/maintainers/tommymuehle)

---

Top Contributors

[![tommy-muehle](https://avatars.githubusercontent.com/u/1351840?v=4)](https://github.com/tommy-muehle "tommy-muehle (26 commits)")

---

Tags

composerpharinstallercomposer-plugincomposer-installerphar-managementcomposer-pharphar-handlinggpg-verificationtool-handlingtool-management

### Embed Badge

![Health badge](/badges/tm-composer-tool-installer-plugin/health.svg)

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

###  Alternatives

[tm/tooly-composer-script

Simple composer script to manage phar files.

103280.1k32](/packages/tm-tooly-composer-script)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1395.0M52](/packages/mnsami-composer-custom-directory-installer)[wecodemore/wpstarter

Composer plugin to easily build WordPress websites entirely managed via Composer.

253195.2k6](/packages/wecodemore-wpstarter)[typisttech/imposter-plugin

Composer plugin that wraps all composer vendor packages inside your own namespace. Intended for WordPress plugins.

158251.0k2](/packages/typisttech-imposter-plugin)[craftcms/plugin-installer

Craft CMS Plugin Installer

283.3M4](/packages/craftcms-plugin-installer)

PHPackages © 2026

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