worked on php wrapper
merged