/phpstorm-m2-filetemplates

PHPStorm File Templates for Magento 2

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

PHPStorm File Templates for Magento 2

Useful file templates for working with Magento 2.

Vendor and Module name will be automatically detected from the Path of the Module.

Installation

  • clone the repository
    git clone https://github.com/bayer/phpstorm-m2-filetemplates.git
  • create zip archive:
    git archive --output phpstorm-m2-templates.zip master
  • import settings into PHPStorm:
    Go to File -> Import Settings -> and open phpstorm-m2-templates.zip

You will find the new templates in the 'Project Files' Tool Window if you right-click on a folder an chose 'New'