VS Code is a powerful and versatile IDE, but out of the box, it doesn't have much support for PHP developers. Fortunately, the PHP community made several extensions that makes VS Code a robust editor.
Here's the most important extensions you need to install if you plan to work with PHP and other web technologies.
PHP Intelephense
https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client
A fully-packed extension with tons of PHP helpers ! The absolute basic.
Composer Companion
https://marketplace.visualstudio.com/items?itemName=faelv.composer-companion

Use composer commands in your IDE.
PHP Namespace Resolver
https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-namespace-resolver

Importing class into your code has never been easier. Add the use class import at the top of your file automatically.
PHP Constructor
https://marketplace.visualstudio.com/items?itemName=MehediDracula.php-constructor

PHP Debug
https://marketplace.visualstudio.com/items?itemName=felixfbecker.php-debug
