 <p>The proper format should be:</p> <pre><code>composer require "dirkgroenen/Pinterest-API-PHP:0.2.11" </code></pre> <p>Or alternatively, you can add it to your <code>composer.json</code>:</p> <pre><code>"dirkgroenen/Pinterest-API-PHP" : "0.2.11", </code></pre> <p>Then do a <code>composer install</code></p>