Including Vendor Libraries 5.7.3.1

Permalink
Hi, I'm not really sure how composer is supposed to work, but I'm a bit confused. I would like to use the MobileDetect library which is under the /concrete/vendor directory in a package.

I tried just calling a new instance $mobile = new MobileDetect(); but that doesn't work.

Then I tried adding the name space: use Detection; but that didn't help.

Then I included the autoload.php class in my package controller, but that also didn't help. How can we access the vendor libraries?