added PHP API example