title: How to deploy a webapplication in a single phar file with composer?
body: <p>I intend to use single phar file with digital signature to deploy a web application. Combined this with event sourcing would make me very easy to follow release early, release often philosophy...</p>
  
  <p>I am using composer as package manager. What I am uncertain:</p>
  
  <ul>
  <li>How to pack the vendors with my application into a single phar?<br>
  I am not sure how composer installs a vendor, but I think it can install them as phar files as well. I found almost nothing about phar-s packed into other phars.</li>
  <li>Is composer's autoloader prepared to do that, or I have to do some modifications?</li>
  <li>Do I have to install composer on the server? (I have no CLI, and I have no rights to do that. Bad for me, yes.)</li>
  <li>How can I filter out automatically the tests and documentations of my application and its dependencies. (I want to have a small release package.)</li>
  </ul>