PHP wrapper for the IDS API