F
F
Fortage2019-02-06 12:24:12
Composer
Fortage, 2019-02-06 12:24:12

How to run a php website with Composer?

I have a site that a friend made for me and he used Composer there, composer.json and composer.lock files are created in the folder. When the site starts, it says that there is no file in the vendor folder, there is no autoload.php (There it is not there). The package is there vendor/tcg/voyager. Installed Composer on the server, but I don't know how to use it to connect to the site. Tell me how to make the site work? So that the autoload.php file appears

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeniy Samoilenko, 2019-02-06
@samoilenkoevgeniy

from the project folder (in the same place where the composer.json file is located) run the command:
composer install

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question