summaryrefslogtreecommitdiff
path: root/features/src/php/devcontainer-feature.json
diff options
context:
space:
mode:
Diffstat (limited to 'features/src/php/devcontainer-feature.json')
-rw-r--r--features/src/php/devcontainer-feature.json42
1 files changed, 42 insertions, 0 deletions
diff --git a/features/src/php/devcontainer-feature.json b/features/src/php/devcontainer-feature.json
new file mode 100644
index 0000000..92d3291
--- /dev/null
+++ b/features/src/php/devcontainer-feature.json
@@ -0,0 +1,42 @@
+{
+ "id": "php",
+ "version": "1.1.2",
+ "name": "PHP",
+ "documentationURL": "https://github.com/devcontainers/features/tree/main/src/php",
+ "options": {
+ "version": {
+ "type": "string",
+ "proposals": [
+ "latest",
+ "8",
+ "8.2",
+ "8.2.0",
+ "none"
+ ],
+ "default": "latest",
+ "description": "Select or enter a PHP version"
+ },
+ "installComposer": {
+ "type": "boolean",
+ "default": true,
+ "description": "Install PHP Composer?"
+ }
+ },
+ "customizations": {
+ "vscode": {
+ "extensions": [
+ "xdebug.php-debug",
+ "bmewburn.vscode-intelephense-client",
+ "xdebug.php-pack",
+ "devsense.phptools-vscode"
+ ]
+ }
+ },
+ "containerEnv": {
+ "PHP_PATH": "/usr/local/php/current",
+ "PATH": "/usr/local/php/current/bin:${PATH}"
+ },
+ "installsAfter": [
+ "https://gitrepo.ru/api/packages/NeonXP/generic/features/latest/devcontainer-feature-common-utils.tgz"
+ ]
+}