title: How to write symfony2 effective
body: <p>I wrote some Symfony2 bundles, and everything ok, but ... i don't like the way i did. First, create a new symfony project, and I generate bundle Company/Mybundle (all of those is under git version control). But, when I have finished with them (some bundle), i create new github repository - Company/MyBundle, and uploaded them to packagist.org. 
  Another "greatest" idea, was create 2 different git repository - one for symfony2 project and one for bundle, and when write something in bundle git - must do composer update on symfony2, but i can't test locally, and this is a problem.</p>
  
  <p>Common problem here, how to get fresh copy of bundles. Or, how to have one (main repository, Symfony project), with one sub git (bundle repository).</p>
  
  <p>How you do that? And, what is the "best practice" for this ?</p>
  
  <p>Edit: Now, my symfony bundles look like this</p>
  
  <pre><code>app
  src
  `- vendor
      `- bundle1 - **git repository1**
      `- bundle2 - **git repository2**
  web
  </code></pre>
  
  <p>All it's fine, but i wanna whole project has a git repository, maybe this is strange (i can't imagine for now), but i also wanna version control of config, parameteres, etc too.</p>