PHPackages                             friendlydev/microsoft-correlationvector-php - 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. friendlydev/microsoft-correlationvector-php

ActiveLibrary

friendlydev/microsoft-correlationvector-php
===========================================

Microsoft Correlation Vector.

00PHP

Since May 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/FriendlyDev/Microsoft-CorrelationVector-PHP)[ Packagist](https://packagist.org/packages/friendlydev/microsoft-correlationvector-php)[ RSS](/packages/friendlydev-microsoft-correlationvector-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Microsoft Correlation Vector PHP
================================

[](#microsoft-correlation-vector-php)

Microsoft-CorrelationVector-PHP provides the PHP implementation of the CorrelationVector protocol for tracing and correlation of events through a distributed system.

Background
----------

[](#background)

**Correlation Vector** (a.k.a. **cV**) is a format and protocol standard for tracing and correlation of events through a distributed system based on a light weight vector clock. The standard is widely used internally at Microsoft for first party applications and services and supported across multiple logging libraries and platforms (Services, Clients - Native, Managed, Js, iOS, Android etc). The standard powers a variety of different data processing needs ranging from distributed tracing &amp; debugging to system and business intelligence, in various business organizations.

For more on the correlation vector specification and the scenarios it supports, please refer to the [specification](https://github.com/Microsoft/CorrelationVector) repo.

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

[](#installation)

```
composer install friendlydev/microsoft-correlationvector-php
```

Usage
-----

[](#usage)

```
use MicrosoftCV\CorrelationVector;

$ms_cv = CorrelationVector::createCorrelationVector();

print 'Initial vector: ' . $ms_cv->value();
print 'Next iteration: ' . $ms_cv->increment();
```

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

[](#requirements)

- PHP &gt;= 8.1

License
-------

[](#license)

GNU General Public License v3.0

Authors
-------

[](#authors)

Based on the implementation by Microsoft:

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4dd012747df04ec097db35065fdd80be374b9e8465b8268514678ff65f53231a?d=identicon)[djekl](/maintainers/djekl)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/friendlydev-microsoft-correlationvector-php/health.svg)

```
[![Health](https://phpackages.com/badges/friendlydev-microsoft-correlationvector-php/health.svg)](https://phpackages.com/packages/friendlydev-microsoft-correlationvector-php)
```

PHPackages © 2026

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