php class for api cy.send