PHPackages                             eviweb/composer-test-utils - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. eviweb/composer-test-utils

ActiveLibrary[Testing &amp; Quality](/categories/testing)

eviweb/composer-test-utils
==========================

Set of utilities to help testing Composer related components.

0.1.0(4y ago)05MITPHP

Since Jun 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/eviweb/composer-test-utils)[ Packagist](https://packagist.org/packages/eviweb/composer-test-utils)[ RSS](/packages/eviweb-composer-test-utils/feed)WikiDiscussions main Synced 3w ago

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

Composer Test Utils
===================

[](#composer-test-utils)

Set of utilities to help testing Composer related components.

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

[](#installation)

Run `composer require eviweb/composer-test-utils`.

Usage
-----

[](#usage)

### ComposerRunner

[](#composerrunner)

The `ComposerRunner` class offers a convenient way to run the composer command and get the related output.

```
use Eviweb\Composer\Testing\ComposerRunner;

$path = '/some/path';
$composer = new ComposerRunner();
$output = $composer->setWorkingDirectory($path)
    ->run('require', '--dev', 'vendor/package');
if ($composer->succeed()) {
    print('It succeed and return the following output: '.$output);
} else {
    print('It failed with the following error output: '.$output);
    print('The value of $composer->failed() is true.');
}
```

License
-------

[](#license)

This project is licensed under the terms of the [MIT License](LICENSE.md).

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

1467d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3031a8d556c5dd41f5526cbf74f68ff2d522ad84162f2b8f36691b9f62d61d7c?d=identicon)[eviweb](/maintainers/eviweb)

---

Top Contributors

[![eviweb](https://avatars.githubusercontent.com/u/1310382?v=4)](https://github.com/eviweb "eviweb (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eviweb-composer-test-utils/health.svg)

```
[![Health](https://phpackages.com/badges/eviweb-composer-test-utils/health.svg)](https://phpackages.com/packages/eviweb-composer-test-utils)
```

###  Alternatives

[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M341](/packages/drupal-core-dev)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15312.0M36](/packages/magento-magento2-functional-testing-framework)[cakephp/debug_kit

CakePHP Debug Kit

86314.7M170](/packages/cakephp-debug-kit)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M572](/packages/shopware-core)

PHPackages © 2026

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