PHP connector for Coalmine