mapkit/jwt

Simple class to create MapKit and MusicKit JWT tokens.

Fund package maintenance!
tschoffelen

Installs: 314 352

Dependents: 1

Suggesters: 0

Security: 0

Stars: 18

Watchers: 4

Forks: 4

v1.1.3 2019-06-10 05:32 UTC

This package is auto-updated.

Last update: 2024-10-29 05:28:51 UTC


README

Simple PHP class to quickly generate MapKit JS JWT tokens.

Install

composer require mapkit/jwt

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

License

This project is open-sourced software licensed under the MIT license.

Authors

This library is developed by Includable, a creative app and web platform development agency based in Amsterdam, The Netherlands.