Hey. There is a project that pumped it through GiT and I stuffed it into htdocs/site (xampp). Now the task is to raise this project on my server.
Installed composter on xampp . I have it available
С:/xamppp/php/php composer.phar If I create a project:

 С:/xamppp/php/php composer.phar create project C:/...htdocs/site/ 

I get the error:

Error: InvalidArgumentExection Cannot find project with stability stable

I also did this:

 create-project --repository-url='адрес где проект/composer.json' C:/...htdocs/site/(куда ставлю)... 

So it knocked an error

Invalid repozitory giver / Must http or file json (this is how I connect composer.json). I have a file in the project composer.json where all the dependencies are stated

  • one
    make cd C: / ... htdocs / site / (where I put it) ... From: / xamppp / php / php composer.phar create-project But apparently, if you have already downloaded the project with handles, then instead of the second command you need type С: / xamppp / php / php composer.phar install and later, when dependencies change, use С: / xamppp / php / php composer.phar update - Johny
  • Johny will try now ... Very grateful for any advice. - koza4ok

1 answer 1

i always do that

  1. git clone url/project.git
  2. cd project
  3. composer install in your case ( С:/xamppp/php/php composer.phar install )

that's all, other ways I do not know