This is a really great article to learn how to install composer packages required by our add-ons. Although I run into a problem with dependent package versions conflicting with XenForo packages (explained my solution in the discussion section), the article is written very carefully and actually straightforward. Just make sure to follow the steps exactly as they are advised.
Thank you for sharing this important knowledge and your experiences on the subject with the community!