Simple signed and expiring token generator and validator for PHP