PHP version of billing application