Skip to content

rogyar/Magento-PhpStorm-Templates

Repository files navigation

Magento PhpStorm File Templates

WTF?:

The set of PHPStorm file templates for Magento developers who want to have a simple and fast way to create an extension using standard files snippets.

https://www.youtube.com/watch?v=E8NkLsK_2AE

Includes:

  • Mage clean js - clean javascript file with PHPDoc header comment
  • Mage extension config adminhtml - Magento adminhtml.xml config template with ACL rules
  • Mage extension config system - Magento system.xml config template with a set of snippets for different field types
  • Mage extension config - Magento config.xml template with a set of configuration snippets
  • Mage extension setup script - extension's setup script
  • Mage extension declaration - Magento extension declaration in app/etc/modules
  • Mage layout - template for design xml layout
  • Mage phtml template - Magento phtml file template
  • Mage create admin - snippet that allows to create new admin user programmatically

Installation

#####For OSX: Copy all files into ~/Library/Preferences/WebIde80/fileTemplates/

#####For Linux and other Unix sytems: Copy all files into ~/.WebIde80/fileTemplates/

#####For Windows (Vista, 7, 8): Copy all files into \Users<USER ACCOUNT NAME>.WebIde80\fileTemplates\

#####For Windows XP: Copy all files into \Documents and Settings<USER ACCOUNT NAME>.WebIde80\fileTemplates\

WebIde60 directory in the path above depends on PhpStorm version. For PhpStorm 7 use WebIde70, PhpStorm 5 - WebIde50 etc..

About

Magento PhpStorm Templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published