configuration does not allow connection to http://packagist.org/packages.json
<p>I am trying to install laravel in my computer. </p>

<p>I am refering to <a href="http://www.tutorialspoint.com/laravel/laravel_installation.htm" rel="nofollow noreferrer">turorails point</a> laravel installation tutorial. </p>

<p>After installing composer trying to create new larael project but getting this error.</p>

<p>This is the error which I am getting:</p>

<p><img src="https://i.stack.imgur.com/r0uVF.png" alt=""></p>