aboutsummaryrefslogtreecommitdiff
path: root/src/php/feature.json
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-05-26 01:18:28 +0300
committerGitHub <noreply@github.com>2022-05-26 01:18:28 +0300
commitf86091f02dfd16e122f420906d422616a60c27cd (patch)
tree7b0e360832092b18d744623c83b42fadca7c39ed /src/php/feature.json
parent4b05519792f48547998f0be410f9cc372bb3c7c8 (diff)
Adds a PHP feature (#22)
* add php * add test * fix test * add to workflow * fix test * fix bug * test composer Co-authored-by: Josh Spicer <joshspicer@github.com>
Diffstat (limited to 'src/php/feature.json')
-rw-r--r--src/php/feature.json31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/php/feature.json b/src/php/feature.json
new file mode 100644
index 0000000..e5bfd24
--- /dev/null
+++ b/src/php/feature.json
@@ -0,0 +1,31 @@
+{
+ "id": "php",
+ "name": "PHP",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": ["latest", "8.0.16"],
+ "default": "latest",
+ "description": "Select or enter a PHP version"
+ },
+ "installComposer": {
+ "type": "boolean",
+ "default": true,
+ "description": "Install PHP Composer?"
+ }
+ },
+ "extensions": [
+ "xdebug.php-debug",
+ "bmewburn.vscode-intelephense-client",
+ "xdebug.php-pack",
+ "devsense.phptools-vscode"
+ ],
+ "containerEnv": {
+ "PHP_PATH": "/usr/local/php",
+ "PATH":"${PHP_PATH}:${PHP_PATH}/bin:${PATH}"
+ },
+ "install": {
+ "app": "",
+ "file": "install.sh"
+ }
+} \ No newline at end of file