title: Add local Composer to PATH
body: <p>I have installed Composer locally only for one Laravel project</p>
  
  <pre><code>~/phpstorm/myproject/composer.phar
  </code></pre>
  
  <p>and didn't have any problem till I tried to create a new Laravel project, then I got an error:</p>
  
  <blockquote>
    <p>Could not open input file: composer.phar</p>
  </blockquote>
  
  <p>I tried to add the .phar file directly to the PATH, but it doesn't seem to change anything.</p>
  
  <pre><code>PATH=~/phpstorm/myproject/composer.phar:$PATH
  </code></pre>
  
  <p>Does somebody know how I could manage this problem without installing Composer globally? In the Internet I only found this easiest kind of solution, but it doesn't suit me, alas.</p>
  
  <p>Thanks for your proposals in advance!</p>