Using Composer in MODX Cloud
Modern PHP applications virtually mandate that Composer is used. Fortunately, MODX Cloud supports it by default with a quick trip to the command line:
-
From the Cloud instance where you wish to use Composer, make note of the internal Cloud URL, and SSH credentials.
-
Open your terminal, shell or Putty to login via
ssh
into your Cloud instance and change directories into your web root:cd www
-
Download and install the advanced tool scripts (you’ll get wp-cli, too):
curl http://modx.co/scripts/install.sh | sh
- That is all.