How can i save vcard information into openfire database using php library

I am using openfire for messaging system ( as admin console ) for mobile chat application. I need to add user’s extra fields into openfire database.

I have searched and found that i can do that using vcard from here http://stackoverflow.com/a/35218175

My question is how can i save user’s additional fields into users database by vcard using php webservice. I also want to retrieve those fields when retrieving user but i need to do that using php webservice.

I am new in openfire so this may seem silly question. Thank you for any kind of help and guidance