Simply install to your project:
sampctl package install GiampaoloFalqui/TFA_SAMP
Include in your code and begin using the library:
#include <tfasamp>
https://github.com/authy/authy-php
Check out the example file.
To test, simply run the package:
sampctl package run