Add an external library to symfony
<p>I'm trying to add an external library to symfony.
I've tried this on the app/autoload.php:</p>

<pre><code>$loader-&gt;add('LibCokeId',__DIR__ . '/../vendor/libcokeid/libcokeid/lib');
</code></pre>

<p>However when I try to use it in a controller:</p>

<pre><code>use libCokeId\LibCokeId

Libcokeid::init()
</code></pre>

<p>I get the miss use statement error.</p>

<p>Any help?</p>