Apr 27, 2017


Yii2 PhpStorm plugin was updated

yii2support plugin got new release. This time we focused on working with database. Connection to database is required to get all the benefits such as autocompleting table and column names in the following cases:

  • ActiveQuery methods (ActiveRecord::find())
  • ActiveRecord methods with condition
  • Methods inside migration classes
  • Methods inside custom ActiveQuery
  • Within ActiveRecord::relations method

Besides the above, the plugin provides extra help for parametrized queries by generating parameters array and checking if it is consistent with condition.

Last but not least, the plugin checks if @property tags conform to database structure and completes tags in case some properties are missing.

Support for Url::to() and Model::rules() methods is in development and is scheduled for the next release.

Comments (0)

No comments yet.

Signup in order to comment.