D
D
dimaychek2015-05-24 01:24:02
PHP
dimaychek, 2015-05-24 01:24:02

How to upload composer to hosting?

I do not understand the algorithm for uploading the composer.phar file to the hosting and connecting it. help me figure it out please.
I read that you need to connect via ssh, I tried it via putty, but when I entered the password, I was thrown out. I don't know of any other image. tell me what algorithm is throwing and connecting the composer. I am newbie. I am posting on the forum for the first time. do not judge strictly the description of the problem

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander N++, 2015-05-24
@sanchezzzhak

composer.phar is a php archive executable via the command line.
Use like this in current folder
php composer.phar <parameters>
Install globally.

curl -s http://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Use like this
composer <options>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question