PHP implementation of a tiqr server