phpPhrasebook is an implementation of the Phrasebook Pattern as outlined in a paper by Yonat Sharon and Rani Pinchuk.
The Phrasebook pattern lets us create dictionaries of phrases. Each phrase can be accessed by a unique key. Each phrase may have placeholders. Groups of phrases are kept in a dictionary. The phrases are kept in an XML document.
The provided classes are based on the Perl module, Class::Phrasebook and Class::Phrasebook::SQL. They use the same file format for the XML files and has much of the same functionality.