title: composer: Where should I install it?
body: <p>I have installed composer in a private directory ".composer" and I am calling the composer autoloader from my public PHP script by referencing it fully:
  <strong>include_once '/home/my_account/.composer/vendor/autoload';</strong></p>
  
  <p>However, when I initialise one of the installed dependencies (PHPDebugBar) I notice that it is trying to locate all its files locally: ie <strong>/vendor/DebugBar</strong> rather than <strong>/home/my_account/.composer/vendor/DebugBar</strong></p>
  
  <p>Should I have installed composer in my public folder? I have a few subdomains, so do I need to install composer in each subdomain? Surely not. </p>
  
  <p>How can I inform PHPDebugBar that the files are in a specified root folder. </p>
  
  <p>Thanks for your help. </p>