PHPackages                             townsend/akm - 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. townsend/akm

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

townsend/akm
============

Connection library for the Townsend AKM.

v1.0.0(8y ago)0674MITPHP

Since Jun 13Pushed 7y ago4 watchersCompare

[ Source](https://github.com/townsendsecurity/akm-php)[ Packagist](https://packagist.org/packages/townsend/akm)[ RSS](/packages/townsend-akm/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

Townsend Security PHP AKM Connection Library
============================================

[](#townsend-security-php-akm-connection-library)

Example
-------

[](#example)

```
use TownsendSecurity\Akm;
use TownsendSecurity\KeyServer;

$akm = new Akm();

$key_server = new KeyServer(
    $server_name,
    $server_host,
    $path_to_local_cert,
    $path_to_ca_cert
);
$akm->addKeyServer($key_server);

$saved_key = $akm->getKeyValue('my_key');

$encrypted_data = $akm->encrypt('test data', 'my_key');
$plaintext = $akm->decrypt($encrypted_data);
assert($plaintext === 'test data');
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 96.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

Unknown

Total

1

Last Release

3256d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1875173?v=4)[Tynor Fujimoto](/maintainers/tynor)[@tynor](https://github.com/tynor)

---

Top Contributors

[![tynor](https://avatars.githubusercontent.com/u/1875173?v=4)](https://github.com/tynor "tynor (26 commits)")[![rlhawk](https://avatars.githubusercontent.com/u/851084?v=4)](https://github.com/rlhawk "rlhawk (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/townsend-akm/health.svg)

```
[![Health](https://phpackages.com/badges/townsend-akm/health.svg)](https://phpackages.com/packages/townsend-akm)
```

###  Alternatives

[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[voku/stringy

A string manipulation library with multibyte support

1783.8M19](/packages/voku-stringy)[paragonie/easy-ecc

Usabiliy Wrapper for mdanter/ecc

46617.1k10](/packages/paragonie-easy-ecc)[kunstmaan/utilities-bundle

The KunstmaanUtilitiesBundle makes your life easier by providing a couple of small but usefull helper services you can use and re-use in your applications. We already implemented an easy to use cipher service and a shell helper service for you but feel free to send in a pull request with your additions. The shell helper allows you to run apps in the background, see if a process is running and has a method to kill a running process. The cipher service allow you to encode and decode strings using the Rijndael 256 cipher

13150.5k6](/packages/kunstmaan-utilities-bundle)[ericmann/sessionz

PHP Session Manager Interface

585.0k2](/packages/ericmann-sessionz)[harmonic/laravel-envcoder

:description

414.1k](/packages/harmonic-laravel-envcoder)

PHPackages © 2026

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