update to php-api. adding second demo. see readme.md