Answer the question
In order to leave comments, you need to log in
How to install and configure Composer on hosting step by step?
I make the command:
composer init
Next, the installer asks to configure the configuration:
Package name (<vendor>/<name>) [.../public_html]:
What should I enter in this case? I tried to leave all the steps by default, then the installer offered to install the dependencies. I needed a phpWord package, I entered:
Define your dependencies.
Would you like to define your dependencies (require) interactively [yes]?
Search for a package: phpWord
Composer could not find a composer.json file in <МОЙ-ПУТЬ>/public_html
To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question