firebase jwt php verify
snippet in php

firebase jwt php verify

user4341

try { 
  $usertoken_to_verify = $_GET["usertoken"]; 
  $decodejwt = JWT::decode($usertoken_to_verify, $key, array('HS256')); print_r($decodejwt); 
} catch (\Exception $e) {
  echo $e; 
}