title: Using jQuery UI in Symfony2 through Composer. How do I publish assets from vendors directory?
body: <p>In a Symfony 2.3 project I want to install jQuery UI using Composer. I found the package <code>components/jqueryui</code> available on packagist.com</p>
  
  <p>The project is also using <a href="http://bootstrap.braincrafted.com/" rel="nofollow">BraincraftedBootstrapBundle</a> that loads jQuery (see <a href="http://bootstrap.braincrafted.com/getting-started.html" rel="nofollow">Getting Started</a>).</p>
  
  <p>I have 2 problems with this configuration:</p>
  
  <ol>
  <li>I have no idea how to access in my Twig tempaltes the jQuery UI files that are located in <code>vendors/components/jqueryui</code>.</li>
  <li>How can I tell Composer that I don't want jQuery UI to require it's dependency <code>components/jquery</code>, since jQuery library is already installed by BraincraftedBootstrapBundle, under <code>jquery/jquery</code> or to tell BraincraftedBootstrapBundle to use jQuery from <code>components/jquery</code>.</li>
  </ol>
  
  <p>Running <code>composer show -i | grep jquery</code> brings up this:</p>
  
  <pre><code>components/jquery     2.1.3    jQuery JavaScript Library
  components/jqueryui   1.11.4   jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. W...
  jquery/jquery         1.11.2
  </code></pre>