Php tools for visual studio code license key

After downloading PHP Tools for Visual Studio, and installing it, the product license needs to be activated.

Trial License

PHP Tools for Visual Studio comes with a free 30-day trial license, allowing to use all the features. The trial license is enabled automatically once Visual Studio starts.

Php tools for visual studio code license key

You can check the state of the license in Help / About PHP Tools menu.

Note, enabling the trial license requires an Internet connection.

Obtain License Key

The license key can be purchased online from our purchase page. For detailed information about licence types, licensing model, purchase, upgrades and renewal, see our FAQ section.

The license key is sent by email immediately after the payment.

Enter License Key

Once you have a obtained the license key, activate your copy of PHP Tools for Visual Studio. The product can be activated from the Visual Studio menu.

  • Go to Help/Activate PHP Tools, and the Activation Dialog will open.
  • Paste the license key
  • Click Activate

    Php tools for visual studio code license key

Note, when you're offline, the offline activation window will appear, guiding you through the process of offline activation.

To check the status of your maintenance and support subscription, go to Help/About PHP Tools. What's the maintenance and support subscription?

Php tools for visual studio code license key

This window gives you information about your license status, product version and the option to renew your subscription.

User Seats

Licenses are assigned to individual users and computers upon first activation. In the case a computer is no longer in use, or a user is no longer actively using the license, you can unregister them to free up their seat for another user. Visit the Dashboard in the upper right corner of this web site to do so.

  1. Create a new user account in the dashboard, or login using available social login.
  2. In case there is no License Key listed in your Dashnoard, Associate License Key first.
  3. Navigate to Subscriptions and adjust number of seats, or disable associated seats to free them for new users.
  • Offline Activation: How to activate the product license with a blocked Internet connection.
  • Licenses FAQ: More information about licenses and purchases.

Welcome to PHP Tools for Visual Studio Code. This extension turns your Visual Studio Code into a powerful PHP development environment, including code editor, debugger, built-in server, and PHPUnit tester.

Product Activation

The product is licensed to our active subscribers. See the purchase page for more information.

Open the Command Palette from the View menu and search for the command PHP Tools: Activate extension. Enter the license key into the pop-up window below and press Enter. Note: the activation process requires an Internet connection.

Php tools for visual studio code license key

Opening a Folder

Open Folder with the PHP application to get the most of the extension.

Php tools for visual studio code license key

The opened folder allows to initiate debugging, provides complete code completion, navigation features, code problems analysis, and allows for additional workspace settings like formatting and used PHP version, and more.

Enable Debug

Create launch settings, so VS Code will run and debug the PHP. Navigate to Run and Debug view, and create a new launch.json file. If asked for the environment, select PHP (Xdebug).

Php tools for visual studio code license key

This create a default launch settings with common launch profiles:

Php tools for visual studio code license key

  • Launch built-in server starts PHP development server within your opened folder, checks for the debugging capabilities, and starts listening for the Xdebug connections.
  • Launch current script in console runs and debugs the currently opened PHP document as a console PHP program.
  • Listen for Xdebug starts debugging and waits for an incoming Xdebug connection.

The launch profiles and corresponding settings can be added, removes or edited in the created .vscode/launch.json file.

Configuring PHP

The vast majority of the extension's features work out of the box. The debugger and test explorer functionalities require, however, a working installation of PHP together with Xdebug extension.

See selecting PHP version for more information.

See Also

  • Configuration
  • Selecting PHP version
  • Test explorer
  • Debug
  • Editor