PHP wrapper for Magister 6