title: How to use composer on windows?
body: <p>I have installed xampp on my PC. After that I installed composer using window installer. On the website they tell about composer.json which looks something like this in the example</p>
  
  <pre><code>{
  "require": {
      "monolog/monolog": "1.2.*"
  }
  }
  </code></pre>
  
  <p>Where do I put it? How do I run it? I have searched a lot but found nothing. Any suggestion would be great.</p>
  
  <p>I ran command prompt as administrator with following command</p>
  
  <pre><code>C:\windows\system32&gt;composer
  </code></pre>
  
  <p>It printed out a bunch of commands. I tried typing</p>
  
  <pre><code>C:\windows\system32&gt;composer install 
  </code></pre>
  
  <p>I got an error that composer could not find composer.json file</p>