PHPackages                             fedi-e2ee/pkd-extensions - 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. fedi-e2ee/pkd-extensions

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

fedi-e2ee/pkd-extensions
========================

Extensions for the Public Key Directory software

v0.3.0(3mo ago)115.9k↑50%1[1 PRs](https://github.com/fedi-e2ee/pkd-extensions-php/pulls)1ISCPHPPHP ^8.2CI passing

Since Dec 10Pushed 3mo agoCompare

[ Source](https://github.com/fedi-e2ee/pkd-extensions-php)[ Packagist](https://packagist.org/packages/fedi-e2ee/pkd-extensions)[ RSS](/packages/fedi-e2ee-pkd-extensions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (2)Versions (6)Used By (1)

Public Key Directory Extensions
===============================

[](#public-key-directory-extensions)

[![CI](https://github.com/fedi-e2ee/pkd-extensions-php/actions/workflows/ci.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-extensions-php/actions/workflows/ci.yml)[![Psalm](https://github.com/fedi-e2ee/pkd-extensions-php/actions/workflows/psalm.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-extensions-php/actions/workflows/psalm.yml)[![Latest Stable Version](https://camo.githubusercontent.com/f8ea8f0a6d2301b9cf97164e49cc6d9123071982164cdeada7723574288e3658/68747470733a2f2f706f7365722e707567782e6f72672f666564692d653265652f706b642d657874656e73696f6e732f762f737461626c65)](https://packagist.org/packages/fedi-e2ee/pkd-extensions)[![License](https://camo.githubusercontent.com/12e12a8439f010cb4f78bd74ac614898fa5d9f282fb5ebc962b2a886512fd411/68747470733a2f2f706f7365722e707567782e6f72672f666564692d653265652f706b642d657874656e73696f6e732f6c6963656e7365)](https://packagist.org/packages/fedi-e2ee/pkd-extensions)[![Downloads](https://camo.githubusercontent.com/e63cebeb8e22c8a11ae9c776bfdb86370a8ceb488bf0ef2355e6c94a0b7083c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666564692d653265652f706b642d657874656e73696f6e732e737667)](https://packagist.org/packages/fedi-e2ee/pkd-extensions)

This library implements the Aux Data Type validations for clients, middleware, and servers.

> !\[NOTE\] Additional extensions must be specified [here](https://github.com/fedi-e2ee/fedi-pkd-extensions) before implemented in this repository.

Installing
----------

[](#installing)

```
composer require fedi-e2ee/pkd-extensions-php

```

Usage
-----

[](#usage)

This exposes Registry class that will come pre-loaded with the extension types defined in this library. To extend it further, simply call:

```
/** @var \FediE2EE\PKD\Extensions\Registry $registry */
$yourClass = new CustomExtensionType();
// ^ must implement  \FediE2EE\PKD\Extensions\ExtensionInterface

$registry->addAuxDataType($yourClass, 'optional-alias-to-support-versioning');
$registry->addAuxDataType($yourClass);
```

To check if a specific Auxiliary Data value conforms to your registered type's expected format, simply call `isValid()`.

```
if ($yourClass->isValid($userData)) {
    // You can proceed with processing it!
} else {
    // Rejected. You can call getRejectionReason() to find out why.
    throw new CustomException($yourClass->getRejectionReason());
}
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance79

Regular maintenance activity

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

Total

4

Last Release

108d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62964206396b67fb3a8985b19dc274f74b1a9232374e189577c0f1388fdc73f2?d=identicon)[soatok](/maintainers/soatok)

---

Top Contributors

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

---

Tags

extensionsfediversepublic key directorykey transparency

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/fedi-e2ee-pkd-extensions/health.svg)

```
[![Health](https://phpackages.com/badges/fedi-e2ee-pkd-extensions/health.svg)](https://phpackages.com/packages/fedi-e2ee-pkd-extensions)
```

###  Alternatives

[reactivex/rxphp

Reactive extensions for php.

1.7k3.2M49](/packages/reactivex-rxphp)[flarum/extension-manager

An extension manager to install, update and remove extension packages from the interface (Wrapper around composer).

12211.5k](/packages/flarum-extension-manager)[abm/sassphp

PHP bindings to libsass - fast, native Sass parsing in PHP!

559.2k](/packages/abm-sassphp)[bnomei/autoloader-for-kirby

Helper to automatically load various Kirby extensions in a plugin

185.7k2](/packages/bnomei-autoloader-for-kirby)

PHPackages © 2026

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