title: Get filesystem path of installed composer package
body: <p>How can get filesystem path of composer package?</p>
  
  <p>composer.json example:</p>
  
  <pre><code>{
  
      "require" : {
          "codeception/codeception" : "@stable",
          "willdurand/geocoder": "*"
      }
  }
  </code></pre>
  
  <p>example:
  <code>$composer-&gt;getPath("\Geocoder\HttpAdapter\HttpAdapterInterface");</code></p>
  
  <p>and return it as:
  <code>"/home/me/public_html/vendor/willdurand/geocoder/src/Geocoder/HttpAdapter"</code></p>