We welcome user feedback and feature requests!

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.

64 votes
Vote
Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
You have left! (?) (thinking…)
SyntaxC4 shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

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

Thanks,
Oded

4 comments

Sign in
(thinking…)
Sign in with: Microsoft
Signed in as (Sign out)
Submitting...
  • Tanya commented  ·   ·  Flag as inappropriate

    It would be nice to see the same rigor in documentation for PHP developers like AWS

  • David Burg commented  ·   ·  Flag as inappropriate

    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?

  • Anonymous commented  ·   ·  Flag as inappropriate

    It would be great to have pip support and the automatic deploy of requirements.txt in Azure Websites

Feedback and Knowledge Base