IntelliJ IDEA 2016.1 Help

PHP-Specific Guidelines

PHP support includes:

PHP development support is provided through the PHP plugin. The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins.

This part describes some procedures that are specific for developing PHP applications and some preliminary steps that are required to configure PHP development environment.

To develop an application using PHP

Follow these general steps:

  1. Configure the PHP development environment.
  2. Enable PHP support in IntelliJ IDEA.
  3. Start creating a project from scratch. On the first page of the New Project wizard, select Static Web.
  4. Create and configure the required data sources (see Managing Data Sources).
  5. Populate the application using provided coding assistance.
  6. Deploy the application.
  7. Run the application. You can do it in several ways:
    • From IntelliJ IDEA using a run configuration of the type PHP Web Application to view application output in a browser.
    • From IntelliJ IDEA using a PHP Console run configuration to view the application output in the Run tool window.
    • From IntelliJ IDEA, using a built-in Web server. This approach saves your time and effort because you do not need to deploy the application sources.

The following optional steps may be helpful:

See Also

Last modified: 13 July 2016