php visual studio code code example
Example 1: validate executable path vscode
"php.validate.executablePath": "c:\\xampp\\php\\php.exe"
"php.validate.executablePath": "C://path.to.your.php.folder//php.exe"
Example 2: intellisense in visual studio code for php-oop
"[php]": {
"editor.defaultFormatter": "junstyle.php-cs-fixer",
"editor.formatOnSave": true
},
Example 3: intellisense in visual studio code for php-oop
"php-cs-fixer.rules": "@PhpCsFixer",
Example 4: visual code debug php
[XDebug]
xdebug.remote_enable = 1
xdebug.remote_autostart = 1