I've already installed laravel a lot of times, but today when I had to install it for my project I experienced the following strange error:
Failed to decode response: zlib_decode(): data error Retrying with degraded mode
I ran the following command to install laravel:
composer create-project laravel/laravel myproject --prefer-dist
in my /var/www/
directory which is totally read, write and executable.
Try the following command:
composer clear-cache
Add this lines to " composer.json " before the last line that conten this symbol " } "
, "repositories": [ { "type": "composer", "url": "https://packagist.org" }, { "packagist": false } ]
Now cd to your project folder and type :
Composer install
Credits to: http://www.webdeveloper.com/forum/showthread.php?285403-Need-Help-Installing-Laravel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With