Small php api for test