PHPackages                             bobmulder/composer-ui - 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. bobmulder/composer-ui

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

bobmulder/composer-ui
=====================

Composer tools and UI for Composer

12205PHP

Since Sep 24Pushed 10y ago2 watchersCompare

[ Source](https://github.com/bobmulder/composer-ui)[ Packagist](https://packagist.org/packages/bobmulder/composer-ui)[ RSS](/packages/bobmulder-composer-ui/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

composer-ui
===========

[](#composer-ui)

ComposerUI for Composer

> Note: This is just a try for composer, and should be considered as experimental.

Strategy
--------

[](#strategy)

Via [this issue at Composer](https://github.com/composer/composer/issues/4429), we started with the idea to build a general UI for composer. However, the UI couldn't exist without a `helper` to create and execute commands.

At the moment we are working on the helper. The goal is that the helper can be used in future without the UI. The UI will be the second part.

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

[](#installation)

You can install this package via... Yeah... Composer:

```
composer require bobmulder/composer-ui:dev-master

```

Usage
-----

[](#usage)

The following commands are supported for now:

- composer
- install
- archive
- update
- require
- remove

### The ComposerHelper Class

[](#the-composerhelper-class)

You can start using composer by creating an instance of the `ComposerUI/ComposerHelper`-class:

```
$composer = new ComposerHelper();

```

You can configure the working path via:

```
$composer = new ComposerHelper('/custom/path');

```

Now you are ready to go!

### Options

[](#options)

On every command you can use every option that is available at composer.

> Note: Read this to get a list of commands and options:

> Note: Need a specific command? Open up an issue or better a pull request!

### Composer

[](#composer)

Just initializes composer. Nothing special.

```
$composer->composer();

```

### Install

[](#install)

The install command reads the `composer.json` file from the current directory, resolves the dependencies, and installs them into vendor.

```
$composer->install();

```

### Archive

[](#archive)

This command is used to generate a zip/tar archive for your entire project.

```
$composer->archive();

```

> Note: Composer itself supports to archive specific packages, but this library doesn't support that yet...

### Update

[](#update)

In order to get the latest versions of the dependencies and to update the `composer.lock` file, you should use the update command.

```
$composer->update();

```

### Require

[](#require)

The require command adds new packages to the `composer.json` file from the current directory. If no file exists one will be created on the fly.

```
$composer->requirePackages([
    'vendor/package' => '2.x',
    'vendor/secondpackage' => 'dev-master',
    'vendor/thirthpackage',
]);

```

### Remove

[](#remove)

The remove command removes packages from the `composer.json` file from the current directory.

$composer-&gt;removePackages(\[ 'vendor/package' =&gt; '2.x', 'vendor/secondpackage' =&gt; 'dev-master', 'vendor/thirthpackage', \]);

Next
----

[](#next)

We would like to refer you to the composer docs itself:

If you need help, don't fear to get in touch via gitter:

\[[![Join the chat at https://gitter.im/bobmulder/composer-ui](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)\] ([https://gitter.im/bobmulder/composer-ui?utm\_source=badge&amp;utm\_medium=badge&amp;utm\_campaign=pr-badge&amp;utm\_content=badge](https://gitter.im/bobmulder/composer-ui?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge))

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

[![bobmulder](https://avatars.githubusercontent.com/u/5465074?v=4)](https://github.com/bobmulder "bobmulder (8 commits)")

### Embed Badge

![Health badge](/badges/bobmulder-composer-ui/health.svg)

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

PHPackages © 2026

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