PHPackages                             team-mate-pro/contracts - 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. team-mate-pro/contracts

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

team-mate-pro/contracts
=======================

A set of contracts in TMP company projects

2.0.0(1mo ago)04.5k↓49.7%3MITPHPPHP &gt;=8.2

Since Oct 29Pushed 1mo agoCompare

[ Source](https://github.com/team-mate-pro/contracts)[ Packagist](https://packagist.org/packages/team-mate-pro/contracts)[ RSS](/packages/team-mate-pro-contracts/feed)WikiDiscussions main Synced today

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

TeamMatePro Contracts
=====================

[](#teammatepro-contracts)

PHP 8.2+ shared interfaces and value objects for TeamMatePro projects.

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

[](#installation)

```
composer require team-mate-pro/contracts

composer require "team-mate-pro/contracts:dev-main as 1.0.x-dev" # in case of conflict
```

Usage
-----

[](#usage)

```
use TeamMatePro\Contracts\Model\IdAware;
use TeamMatePro\Contracts\ValueObject\Coordinates;

// Use shared interfaces
class MyEntity implements IdAware {
    public function getId(): string { /* ... */ }
}

// Use value objects
$location = new Coordinates(latitude: 40.7128, longitude: -74.0060);
```

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

[](#development)

```
make fix          # Auto-fix code styling
make check_fast   # Quick validation (phpcs, phpstan)
make check        # Full CI/CD validation
make tests        # Run all tests
```

Run `make help` for all available commands.

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

[](#requirements)

- PHP 8.2+
- PSR-4 autoloading

License
-------

[](#license)

Proprietary

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance93

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity57

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 ~11 days

Recently: every ~16 days

Total

20

Last Release

37d ago

Major Versions

1.5.0 → 2.0.02026-05-27

### Community

Maintainers

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

---

Top Contributors

[![serek-dev](https://avatars.githubusercontent.com/u/6751932?v=4)](https://github.com/serek-dev "serek-dev (28 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/team-mate-pro-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/team-mate-pro-contracts/health.svg)](https://phpackages.com/packages/team-mate-pro-contracts)
```

###  Alternatives

[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k18](/packages/solspace-craft-freeform)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.4M289](/packages/symfony-ai-platform)[api-platform/state

API Platform state interfaces

274.9M136](/packages/api-platform-state)[symfony/ai-agent

PHP library for building agentic applications.

32870.1k107](/packages/symfony-ai-agent)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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