added php wrapper + documentation