Categories: Laravel

Problem in composer create-project

To start a new project in laravel we generally do the following code

composer create-project --prefer-dist laravel/laravel projectname

OR

composer create-project --prefer-dist laravel/laravel projectname "version_of_laravel"

You may get error as below

 

Now the solution for this I found is to put the code below in your command prompt.

composer global require "laravel/lumen-installer"

jaminrai

Share
Published by
jaminrai

Recent Posts

Computer Science Project Report Guidelines and Sample

Guidelines (Click Below to Download) SAMPLE 1 SAMPLE 2

6 months ago

Skype Closes Its Doors After 20 Years: A Look Back and the Apps That Faded with It

After 20 years of transforming global communication, Skype has officially ceased operations. Microsoft, which purchased…

1 year ago

The Duck and the Tortoise: A Tale of Patience and Teamwork

In a serene forest by the edge of a sparkling lake, there lived a cheerful…

1 year ago