Example to add a tag to customer using php

I am new to PHP and know some basics. I’m looking for an example of how I can add a tag to a customer from my PHP application? I already reviewed the available documentation but can’t find any examples of how to do so. I appreciate it if anyone could help.

Thank you.

I’ve got good news for you! Our documentation features API examples in several different languages, including PHP: Add a tag to contact
See here: Image 6-24-2022 at 4.07 PM