You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Azure App Service Web App Composer Site Extension
1
2
3
+
This site extension adds [Composer](http://getcomposer.org) support to Web App to enable dependency management for PHP applications.
4
+
5
+
## Installation
6
+
7
+
Follow the instructions outlined in the article [How to enable a Site Extension in Azure App Service Web App](http://blog.syntaxc4.net/post/2015/02/05/how-to-enable-a-site-extension-in-azure-websites.aspx) when selecting an extension look for the list item for [Composer](http://www.siteextensions.net/packages/ComposerExtension/).
8
+
9
+
## Usage
10
+
11
+
There are multiple ways to use Composer from Web App.
12
+
13
+
### Continuous Deployment
14
+
15
+
This sample application demonstrates the usage of the `composer.json` file in Web App.
16
+
17
+
* Place a `composer.json` file in the root of your repository
18
+
* vendor folder will be created in `d:\home\site\vendor`
19
+
* reference to the autoload.php file `require_once "../vendor/autoload.php";`
20
+
21
+
### Command-Line
22
+
23
+
* Open the Kudu Debug Console (http://<site-name>.scm.azurewebsites.net/DebugConsole) or Install [KuduExec](https://github.com/projectkudu/kuduexec)
24
+
* run composer from the command line `composer selfupdate`
0 commit comments