mapkit/jwt

Simple class to create MapKit and MusicKit JWT tokens.

Fund package maintenance!
tschoffelen

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

This package is auto-updated.

Last update: 2024-03-29 03:57:42 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.