Can composer-dependent PHP libraries be used with the Libraries API? I'm trying to include a PHP library called Geocod.io in my custom module. I am also trying to use the Libraries API. So far I have:


Downloaded geocod.io to sites/all/libraries
composer install'ed in sites/all/libraries/geocodio
Started creating a hook_libraries_info() function with the following contents:

return array(
  'geocodio' =&gt; array(
    'name' =&gt; 'Geocod.io',
    'vendor url' =&gt; 'http://geocod.io',
    'download url' =&gt; 'https://github.com/davidstanley01/geocodio-php',
    'version arguments' =&gt; array(),
    'files' =&gt; array(
      'php' =&gt; array('geocodio/vendor/autoload.php'),
    ),
  ),
);



I have no idea what to put for 'files', is the path the the autoloader the right thing to do? Are these two ways of including things even compatible? I'm a bit stumped as to what to do next, I want to use the geocod.io library and I want to do it the most correct way. Other questions that mention these issues don't seem to include anything about how to list the files/versions.
This is not really a direct answer to your question, but as an alternative to using the Libraries API (which I too have struggled with in this context), check out the Composer Manager module. It works nicely for PHP libraries installed via Composer, and takes care of the autoload seamlessly.