PHPackages                             matesofmate/common - 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. matesofmate/common

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

matesofmate/common
==================

Common functionality shared across MatesOfMate extensions

0.3.1(1mo ago)07.2k↑55.6%3MITPHPPHP &gt;=8.2CI passing

Since Jan 26Pushed 3d agoCompare

[ Source](https://github.com/MatesOfMate/common)[ Packagist](https://packagist.org/packages/matesofmate/common)[ RSS](/packages/matesofmate-common/feed)WikiDiscussions main Synced 3d ago

READMEChangelogDependencies (21)Versions (5)Used By (3)

MatesOfMate Common Package
==========================

[](#matesofmate-common-package)

Shared functionality for MatesOfMate extensions.

Components
----------

[](#components)

### Process Execution (`src/Process/`)

[](#process-execution-srcprocess)

- `ProcessExecutorInterface` - Interface for process execution
- `ProcessExecutor` - Concrete class for running CLI tools with PHP binary reuse capability
- `ProcessResult` - DTO for process execution results (exitCode, output, errorOutput)

### Configuration Detection (`src/Config/`)

[](#configuration-detection-srcconfig)

- `ConfigurationDetectorInterface` - Interface for config file detection
- `ConfigurationDetector` - Concrete class for detecting configuration files in project root

### Message Truncation (`src/Truncator/`)

[](#message-truncation-srctruncator)

- `MessageTruncatorInterface` - Interface for message truncation
- `MessageTruncator` - Concrete class for token-efficient output with prefix removal and class name shortening

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

[](#development)

```
# Install dependencies
composer install

# Run tests
composer test

# Check code quality
composer lint

# Fix code style
composer fix
```

License
-------

[](#license)

MIT

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance95

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity40

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

Every ~35 days

Total

4

Last Release

52d ago

### Community

Maintainers

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

---

Top Contributors

[![wachterjohannes](https://avatars.githubusercontent.com/u/1464615?v=4)](https://github.com/wachterjohannes "wachterjohannes (11 commits)")

---

Tags

commonutilitiessharedmatesofmate

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/matesofmate-common/health.svg)

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

###  Alternatives

[composer/composer

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

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.3k](/packages/friendsofphp-php-cs-fixer)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[drupal/core

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

21866.0M1.7k](/packages/drupal-core)[drupal/core-recommended

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

6942.5M421](/packages/drupal-core-recommended)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M577](/packages/shopware-core)

PHPackages © 2026

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