Adding php API library