Fork of the original XMP PHP Toolkit by Mathias Vitalis