pepebe
4/23/2015 - 7:31 PM

Add and use composer on modx cloud

Add and use composer on modx cloud

Open your terminal app.

$ ssh user@ftp.yourmodxsite.com

Use the credentials listed in your modxcloud settings.

If you get a message that the connection cannot be verified, just proceed.

Hit return and enter your password.

$ *

Now install composer:

$ curl -sS http://getcomposer.org/installer | php

Check if composer can be called:

$ php composer.phar

You should see something like this:

/ ____/___ ____ ___ ____ ____ ________ _____ / / / __ / __ `__ / __ / __ / / _ / / / // // / / / / / / // / // (__ ) / / _/_// // // ./_/____/_// /_/ Composer version 1.0-dev (2e73811211b7ea6de8de578fa50746fe679f2297) 2015-04-21 20:02:17

Well done :)