I have some of my own modules written on Drupal 7 that use composer packages. These composer packages are downloaded with the module Composer Manager.
How can I set explicitly the dependency on a composer package on my own module?
Should I describe it somehow on my module's .info-file or should I do it via a hook?
It's because if I don't do it, the Composer Manager can remove these packages from the site on the next updating. Unfortunately, I couldn't find any example.