php - composer laravel install: "" file could not be downloaded


I want to install laravel 2.2 through composer with

$ composer create-project --prefer-dist laravel/laravel sampleBackend 5.2

but every time i do that composer shows a message:

The "" file could not be downloaded: failed to open stream: HTTP request failed! could not be fully loaded, package information was loaded from the local cache and may be out of date




Clear composer cache first by running

composer clear-cache

Then run this command

composer -vvv

This solution worked for me when I was trying to install laravel.

People are also looking for solutions to the problem: php - Why does PHPSESSID not exists in cookies.sqlite in Firefox?


Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.