If you are wanting to use PHP to keep it in line with your existing codebase you may as well use a proven PHP API adaptor. Most of the ones linked there will have examples for use.
The items specific to a customer update are noted in the docs:
http://docs.shopify.com/api/customer#update