skip to Main Content

This issue is coming to me when I try to create a larval project. my php version is 8.2 and I already downloaded Composer.
enter image description here

I have searched for this problem on the internet and I couldn’t find anyone who faced this problem when he is creating Laravel project.

2

Answers


  1. It looks like you need Git or it has to be in you environment path. There are various ways to get it but look here: https://git-scm.com/download/win

    Login or Signup to reply.
  2. There is two way to solve this problem

    The first one is to add --prefer-dist in your command to be like this

    second on, make sure that you installed git and that exists in your PATH

    you could install git from this link

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search