PHPackages                             healthrecoverysolutions/knox-token - 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. [Security](/categories/security)
4. /
5. healthrecoverysolutions/knox-token

ActiveLibrary[Security](/categories/security)

healthrecoverysolutions/knox-token
==================================

Support library for signing Samsung Knox API access tokens

0.3.1(2y ago)0234MITPHPPHP &gt;=7.4

Since Aug 11Pushed 2y agoCompare

[ Source](https://github.com/healthrecoverysolutions/knox-token)[ Packagist](https://packagist.org/packages/healthrecoverysolutions/knox-token)[ RSS](/packages/healthrecoverysolutions-knox-token/feed)WikiDiscussions master Synced 2d ago

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

Knox Token
==========

[](#knox-token)

Support library for signing Samsung Knox API access tokens

Install
-------

[](#install)

```
composer require healthrecoverysolutions/knox-token

```

Usage
-----

[](#usage)

More info at [Knox Cloud API Integration Guide](https://docs.samsungknox.com/cloud-authentication/api-reference/Default.htm#section/Generate-your-access-token)

### Sign your Client Identifier

[](#sign-your-client-identifier)

```
use Proget\Samsung\KnoxToken\Certificate;
use Proget\Samsung\KnoxToken\KnoxToken;

$clientIdentifierJwt = KnoxToken::signClientIdentifier('your-client-identifier', Certificate::fromPath('keys.json'));
```

### Sign your Access Token

[](#sign-your-access-token)

```
use Proget\Samsung\KnoxToken\Certificate;
use Proget\Samsung\KnoxToken\KnoxToken;

$accessTokenJwt = KnoxToken::signAccessToken('access-token', Certificate::fromPath('keys.json'));
```

### Load certificate

[](#load-certificate)

```
use Proget\Samsung\KnoxToken\Certificate;

$certificate = Certificate::fromPath('keys.json');

$certificate->publicKey();
$certificate->privateKeyPem();
```

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 80% 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

1059d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/31043c3b8b96d62f4a200f189dbcea01897f2bbfbb58f700185e612ed55da685?d=identicon)[hrs-ydomashlinets](/maintainers/hrs-ydomashlinets)

---

Top Contributors

[![marmichalski](https://avatars.githubusercontent.com/u/57528542?v=4)](https://github.com/marmichalski "marmichalski (12 commits)")[![akondas](https://avatars.githubusercontent.com/u/8239917?v=4)](https://github.com/akondas "akondas (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/healthrecoverysolutions-knox-token/health.svg)

```
[![Health](https://phpackages.com/badges/healthrecoverysolutions-knox-token/health.svg)](https://phpackages.com/packages/healthrecoverysolutions-knox-token)
```

###  Alternatives

[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

154.1M9](/packages/microsoft-kiota-authentication-phpleague)[mynaparrot/plugnmeet-sdk

plugNmeet PHP SDK

102.8k](/packages/mynaparrot-plugnmeet-sdk)[markocupic/calendar-event-booking-bundle

Contao Calendar Event Booking Bundle

135.2k1](/packages/markocupic-calendar-event-booking-bundle)

PHPackages © 2026

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