title: Unable to update composer.phar in yii2
body: <p>I am using the below command to update my composer:</p>
  
  <pre><code>php composer.phar update
  </code></pre>
  
  <p>I am getting the below error in the terminal:</p>
  
  <pre><code>[Composer\Repository\RepositorySecurityException]                            
    The contents of http://packagist.org/p/provider-archived%2491683312159b2222  
    f06683bc446f1347559e31839d8dbb6a3c2512e677e01798.json do not match its sign  
    ature. This should indicate a man-in-the-middle attack. Try running compose  
    r again and report this if you think it is a mistake.  
  </code></pre>
  
  <p>I am not able to figure out the issue can anybody help me out? Thanks in advance</p>