Adding sample code for version 1.0 of the PHP client library