PHPackages                             setono/client-id-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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. setono/client-id-contracts

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

setono/client-id-contracts
==========================

Generic abstraction related to client id

v0.2.0(5y ago)074.2k↓35.7%7MITPHPPHP &gt;=7.4

Since Mar 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Setono/client-id-contracts)[ Packagist](https://packagist.org/packages/setono/client-id-contracts)[ RSS](/packages/setono-client-id-contracts/feed)WikiDiscussions 0.2.x Synced 1mo ago

READMEChangelog (2)DependenciesVersions (4)Used By (7)

Abstraction for a client id
===========================

[](#abstraction-for-a-client-id)

Client ids are used in many applications to identify a user. It could be in

- Analytics software to identify the user between requests
- Consent management software to check that a user has consented

This library provides a very simple abstraction over this concept by providing

- a `ClientId` value object
- a `ClientIdGeneratorInterface` that will generate a `ClientId`
- a `ClientIdProviderInterface` that will return a client id

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity45

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

Total

4

Last Release

1853d ago

Major Versions

0.2.x-dev → 1.x-dev2021-04-22

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2412177?v=4)[Joachim Løvgaard](/maintainers/loevgaard)[@loevgaard](https://github.com/loevgaard)

---

Top Contributors

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

---

Tags

client-idphp

### Embed Badge

![Health badge](/badges/setono-client-id-contracts/health.svg)

```
[![Health](https://phpackages.com/badges/setono-client-id-contracts/health.svg)](https://phpackages.com/packages/setono-client-id-contracts)
```

###  Alternatives

[league/container

A fast and intuitive dependency injection container.

86787.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)[php-standard-library/phpstan-extension

PHPStan PSL extension

201.2M13](/packages/php-standard-library-phpstan-extension)[elie29/zend-phpdi-config

PSR-11 PHP-DI autowire container configurator for Laminas, Mezzio, ZF2, ZF3 and Zend Expressive applications

20238.6k7](/packages/elie29-zend-phpdi-config)

PHPackages © 2026

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