Added example.php and updated readme example