How to install composer on app service?

I am new to using Microsoft Azure. My application requires composer to be installed on the server, how can I have it installed on the system of App services service? Application is in PHP.


Solution 1:

Another way to install composer

  • Navigate to your azure portal
  • Click on SSH
  • Type curl -sS https://getcomposer.org/installer | php

Solution 2:

You can install composer extension in the manage portal of your App Services.

  • Login on your Azure Account at https://portal.azure.com
  • Click the "tools" button, select "extensions" bar in the list on the right. Click "Add" button, open the extension list allowed to install in App Services. You can choose "Composer" there. enter image description here

After installing, you also can install Visual Studio Online extension or leverage Kudu console site to handle or run commands of your Apps.