PHPackages                             mapkit/jwt - 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. mapkit/jwt

ActiveLibrary

mapkit/jwt
==========

Simple class to create MapKit and MusicKit JWT tokens.

v1.1.3(6y ago)18389.0k↑45.4%41MITPHP

Since Jun 11Pushed 6y ago3 watchersCompare

[ Source](https://github.com/includable/mapkit-jwt)[ Packagist](https://packagist.org/packages/mapkit/jwt)[ RSS](/packages/mapkit-jwt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)DependenciesVersions (6)Used By (1)

MapKit JWT
==========

[](#mapkit-jwt)

**Simple PHP class to quickly generate MapKit JS JWT tokens.**

Install
-------

[](#install)

```
composer require mapkit/jwt

```

Usage
-----

[](#usage)

```
use Mapkit\JWT;

// Replace arguments below with private key, key ID and team identifier
$my_token = JWT::getToken('-----BEGIN PRIVATE KEY----- ...', 'XXXXXXXXXX', 'XXXXXXXXXX');
echo $my_token;
```

More info
---------

[](#more-info)

- [Apple Developer documentation](https://developer.apple.com/maps/mapkitjs/)

License
-------

[](#license)

This project is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Authors
-------

[](#authors)

This library is developed by [Includable](https://includable.com/), a creative app and web platform development agency based in Amsterdam, The Netherlands.

- Thomas Schoffelen, [@tschoffelen](https://twitter.com/tschoffelen)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity44

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~91 days

Total

5

Last Release

2535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1af8c1e173ab229818dff16253e9b49ce9b0ec8847311d95390760eb59f9901e?d=identicon)[tschoffelen](/maintainers/tschoffelen)

---

Top Contributors

[![tschoffelen](https://avatars.githubusercontent.com/u/666220?v=4)](https://github.com/tschoffelen "tschoffelen (6 commits)")[![mattradford](https://avatars.githubusercontent.com/u/2804540?v=4)](https://github.com/mattradford "mattradford (1 commits)")

### Embed Badge

![Health badge](/badges/mapkit-jwt/health.svg)

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

PHPackages © 2026

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