Sample php api