Front-end + php api

Exist conflict whit the node-js api, so exist a php api for practical reasons.

Signed-off-by: eliezerdt <eliezerdt@gmail.com>