First-Class Support for Composer and PIP
Azure Websites supports NuGet and NPM as first party package managers. It would be nice to see first class support for Composer, a PHP package manager, on Azure Websites to make PHP consistent with the rest of the platform.
Here is an example of how to support Composer: https://github.com/syntaxc4-msft/waws-composer
While the exercise should be fairly straight forward, it would also be nice to support pip on the platform as well to make sure that there is a consistent story for all supported languages.
We’re happy to share that composer has been enabled on Web App on Linux. You can just run composer on a Kudu session.
In addition, we added Linux-only PHP Composer deployment support to Kudu and Kuduscript. During git-triggered deployment, if Kudu finds a composer.lock file, it will run composer install.
For more details and to ask specific technical questions about this, ask away at the developer forum for Web App on Linux: https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=windowsazurewebsitespreview
It would be nice to see the same rigor in documentation for PHP developers like AWS
David Burg commented
Has the documentation gap been addressed? I've been trying to use Composer to install Twig for PHP WordPress Azure WebApp. After installing the Composer extension in the Azure portal, the command composer is not recognized yet in Kudu console. Apparently there is another command to run between installing the extension and running the command in Kudu. But what is it?
One more note about this, we are aware of the lack of dodumentation for this feature. We are actively improving this aspect, espeiclaly as we build the product toward GA, which will happen hopefully sometime later this year.
It would be great to have pip support and the automatic deploy of requirements.txt in Azure Websites