🗺 Simple class to create MapKit and MusicKit JWT tokens.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 6c93051 Jun 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitattributes
.gitignore
README.md
composer.json
example.php

README.md

MapKit JWT

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.