mapkit-jwt
mapkit-jwt copied to clipboard
🗺 Simple class to create MapKit and MusicKit JWT tokens.
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.
- Thomas Schoffelen, @tschoffelen