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

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

fedi-e2ee/pkd-server
====================

v0.8.0(2mo ago)2111[2 issues](https://github.com/fedi-e2ee/pkd-server-php/issues)ISCPHPPHP ^8.4CI passing

Since Dec 15Pushed 2mo ago2 watchersCompare

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

READMEChangelog (10)Dependencies (51)Versions (24)Used By (0)

Fediverse Public Key Directory Server Reference Implementation
==============================================================

[](#fediverse-public-key-directory-server-reference-implementation)

[![CI](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/ci.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/ci.yml)[![Psalm](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/psalm.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/psalm.yml)[![PHPStan](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/phpstan.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/phpstan.yml)[![Psalm](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/semgrep.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/semgrep.yml)[![Style](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/style.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/style.yml)[![Fuzzing](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/fuzz.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/fuzz.yml)[![Mutation Testing](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/infection.yml/badge.svg)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/infection.yml)
[![Latest Stable Version](https://camo.githubusercontent.com/092e4b73e72f14faa19a5ec7cf852cc611e78b0e070b9d5de016240a0888d5bf/68747470733a2f2f706f7365722e707567782e6f72672f666564692d653265652f706b642d7365727665722f762f737461626c65)](https://packagist.org/packages/fedi-e2ee/pkd-server)[![License](https://camo.githubusercontent.com/13f2bbb3d579aa3e1e48661748d0d10931d328ff980ff1975d1c25043371c156/68747470733a2f2f706f7365722e707567782e6f72672f666564692d653265652f706b642d7365727665722f6c6963656e7365)](https://packagist.org/packages/fedi-e2ee/pkd-server)[![Reference Docs](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/docs-ref.yml/badge.svg?branch=main)](https://github.com/fedi-e2ee/pkd-server-php/actions/workflows/docs-ref.yml)

This is the reference implementation for the server-side component of the [Public Key Directory specification](https://github.com/fedi-e2ee/public-key-directory-specification), written in PHP.

**[Project Website: publickey.directory](https://publickey.directory)**

What is this, and why does it exist?
------------------------------------

[](#what-is-this-and-why-does-it-exist)

The hardest part of designing end-to-end encryption for the Fediverse, as with most cryptography undertakings, is key management. In short: How do you know which public key belongs to a stranger you want to chat with privately? And how do you know you weren't deceived?

Our solution is to use **Key Transparency**, which involves publishing all public key enrollments and revocations to an append-only ledger based on Merkle trees. This allows for a verifiable, auditable log of all key-related events, providing a strong foundation for trust.

This project, and the accompanying specification, are the result of an open-source effort to solve this problem. You can read more about the project's origins and design philosophy on Soatok's blog, *Dhole Moments*:

- [Towards Federated Key Transparency](https://soatok.blog/2024/06/06/towards-federated-key-transparency/)
- [Key Transparency and the Right to be Forgotten](https://soatok.blog/2024/11/21/key-transparency-and-the-right-to-be-forgotten/)

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

[](#installation)

Use [Composer](https://getcomposer.org/):

```
composer require fedi-e2ee/pkd-server

```

Documentation
-------------

[](#documentation)

For detailed information on how to deploy and configure the server, please see the [online documentation](./docs/README.md).

License
-------

[](#license)

This project is licensed under the [ISC License](LICENSE).

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance84

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.3% 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 ~6 days

Recently: every ~16 days

Total

20

Last Release

75d 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 (118 commits)")[![BecomeTheMedia](https://avatars.githubusercontent.com/u/66828596?v=4)](https://github.com/BecomeTheMedia "BecomeTheMedia (1 commits)")[![shleeable](https://avatars.githubusercontent.com/u/17537000?v=4)](https://github.com/shleeable "shleeable (1 commits)")

---

Tags

activitypube2eeend-to-end-encryptionfediversekey-transparencyphptransparency-log

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)

PHPackages © 2026

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