How to require a Composer package by a custom extension?

2 posts were split to a new topic: How to add a custom PHP library as a non-GitHub composer package to a custom Magento 2 extension?