An implementation of the Textus middle ware in PHP