 <p>Finaly, I have found out what was the problem. composer.json file in the project I was trying to load - <a href="https://github.com/KoulSlou/UPS" rel="nofollow">UPS library</a> -was invalid. I was able to download files when I ran:</p> <pre><code>composer.phar install </code></pre> <p>but it looks like composer.json file was ignored. I found it out when I ran </p> <pre><code>composer.phar update </code></pre> <p>and got</p> <pre><code>No valid composer.json was found </code></pre> <p>With option -v I got error that "name" is undefined index. So, I simply added "name" field to the composer.json. Final version is:</p> <pre><code>{ "name":"KoulSlou/UPS", "autoload": { "files": [ "libraries/Ups/Ups.php", "libraries/Ups/Ups_Base.php", "libraries/Ups/Ups_Base_Response.php", "libraries/Ups/Ups_Live_Rates.php" ] } } </code></pre>