added phing build, and updated curl example