Difference between #2 and #3 of
Configuring PhpStorm IDE for Yii 2

Revision #3 has been created by CeBe on Apr 5, 2018, 1:24:32 PM with the memo:

runtime dir and composer
« previous (#2) next (#4) »

Changes

Title unchanged

Configuring PhpStorm IDE for Yii 2

Category unchanged

Tips

Yii version unchanged

2.0

Tags unchanged

IDE,PhpStorm,IntelliJ IDEA

Content changed

There are a few settings and plugins that can enhance the development experience with Yii in [PHPStorm](https://www.jetbrains.com/phpstorm/) or IntelliJ IDEA. This article explains how to get the most out of your IDE. This arcticle is valid for Yii 2 and above, there is an [older article for Yii 1.1](https://www.yiiframework.com/wiki/92/configuring-phpstorm-ide-for-yii).
 
# Plugins

- **[Yii2 Support](https://plugins.jetbrains.com/plugin/9388-yii2-support)** adds many useful tools that improve working with Yii. It makes working with class configuration, DI and views easier.
[...]
- **[Php Inspections (EA Extended)](https://plugins.jetbrains.com/plugin/7622-php-inspections-ea-extended-)** is not directly Yii related but has a lot of additional code inspections that help you write better code. There is also a [payed version](https://plugins.jetbrains.com/plugin/10215-php-inspections-ea-ultimate-) that has even more features, especially security related inspections.

 
 
# Project Setup
 
 
- **Exclude runtime directories from code search.** Debug toolbar stores a lot of stuff that clutters search results.
 
 
  `runtime` - *right click* - Mark Directory As - Excluded
 
  
 
- **Enable composer integration** to tell PHPStorm to separate vendor files from project files.
 
 
  `composer.json` - *right click* - Composer - Init Composer ...
 
  
 
  
14 0
6 followers
Viewed: 50 423 times
Version: 2.0
Category: Tips
Written by: CeBe
Last updated by: CeBe
Created on: Apr 5, 2018
Last updated: 6 years ago
Update Article

Revisions

View all history