IntelliJ IDEA 14.0.0 Web 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 is available from the JetBrains plugin repository. Once enabled, the plugin is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects. See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.

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

  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.
  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: 4 December 2014
comments powered by Disqus