composer error : laravel cann't install


 [Composer\Repository\RepositorySecurityException]                           
  The contents of http://packagist.org/p/symfony/browser-kit$7243ec71a1525094 
  0c9d6c520acf1894c56aed85abb53ce09abb1ddf7702855a.json do not match its signature. This should indicate a man-in-the-middle attack. Try running composer again and report this if you think it is a mistake.


type this command :

composer config -ge

add this script



"repositories": {
        "packagist": { "url": "https://packagist.org", "type": "composer" }
    }
 
 
be like this
 



 Ref : https://github.com/composer/composer/issues/2835#issuecomment-38678249


 

Share this

Related Posts

Previous
Next Post »