PHP Api for Custodes