Feature/conversion api

Updated PHP client with the conversion API