Skip to content

PHP IntelliSense in the Browser#

Use PHP Tools in your browser on vscode.dev or github.dev. Get PHP language features such as IntelliSense and code analysis without installing anything locally.

PHP IntelliSense in the Browser#

PHP Tools runs in the browser on vscode.dev (including github.dev), so you can use PHP language features without installing anything locally.

The extension offers browser support. All the editor features can be used in this browser-based development environment.

Installation#

Navigate to Extensions view, and search for "PHP Tools". Click Install to confirm.

installing php tools in vscode web

During the first run, the extension may take some time to load since it needs to be downloaded first. Watch the VSCode status bar at the bottom, where is a loading progress icon.

Features#

All the editor features can be used in the browser-based development environment. See the limitations below for the details.

PHP Language Level#

The PHP code editor and code analysis can be configured as described on configuration page. Additionally, choosing the PHP version in the browser-based editor popups the following PHP language level selector:

PHP Language Level

The PHP language level configures the code problems analysis, code completion, and hints.

PHPDoc Generator#

PHPDoc is generated seamlessly. Type /** above a declaration to create the PHPDoc comment block. Optionally use a Code Action.

Limitations#

The limitations are described on the VS Code's documentation page: https://code.visualstudio.com/docs/editor/vscode-web#_limitations.

Since the editor won't process all the files in your workspace, the IntelliSense might not be complete. In the result, code lenses with useful commands are not enabled since they would not provide complete results, code problems do not mention unknown classes and functions, tooltips might not provide the complete information, and Laravel facades might not provide complete IntelliSense either.