Token base authenticator starter by slim
clone this repo
composer install
in file config.inc.php
JWT_SECRET => JWT secret
PATH_NO_AUTH => Path don't use jwt auth (array)
VERSION => version of api
https://github.com/slimphp/Slim-Skeleton
https://trinitytuts.com/secure-your-php-web-services-using-jwt/