PHP Api added

Added the PHP-Api