Skip to content

magento/magento2-phpstorm-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhpStorm Magento 2 Plugin

Version Downloads Downloads last month

This is a plugin for Magento 2 development in the PhpStorm IDE. It is available via the JetBrains Plugin Repository

Installation

  1. Go to Settings / Preferences in the PhpStorm IDE

  2. Navigate to "Plugins"

  3. Click the "Browse repositories..." button and search for "Magento2"

  4. Install the plugin and restart PhpStorm

  5. Go to Settings / Preferences / Other Settings / Magento2 plugin in the PhpStorm IDE

  6. Check "Enable" and "OK" button.

Works with

  • PhpStorm >= 8.0.3
  • JRE >= 1.7

Features

Configuration smart completion and references

  • di.xml
  • layouts
  • events.xml
  • webapi.xml

Inspections

  • @api usage
  • ObjectManager usage

Code helpers

  • "Navigate to configuration" reference in scope of class/interface
  • "Go to plugin" reference in scope of class/interface and method
  • "Navigate to Web API configuration" reference in scope of class/interface and method

License

Copyright (c) 2015 Dmytro Kvashnin. See LICENSE.md for details.