Hi,
Recently, I created a library to create SecureToken in PHP
I posted on Github & packagist for using with composer.
It’s the first version, you can fork it and create merge request if you think I forgot fonctionnalities.
https://github.com/remiheens/WowzaSecureToken
Hope you like it & use it.
Rémi