change php api
add shell api