PHP library to convert text from one script to another