diff options
author | Samruddhi Khandale <skhandale@microsoft.com> | 2022-05-26 01:18:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 01:18:28 +0300 |
commit | f86091f02dfd16e122f420906d422616a60c27cd (patch) | |
tree | 7b0e360832092b18d744623c83b42fadca7c39ed /src/php/feature.json | |
parent | 4b05519792f48547998f0be410f9cc372bb3c7c8 (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.json | 31 |
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 |