Skip to content

shyim/shopware5-live-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Shopware 5 Live Templates for PhpStorm

How to:

  1. Go to Preferences | Tools | Settings Repository

  2. Add Read-only Source https://github.com/shyim/shopware5-live-templates

  3. Restart PhpStorm.

  4. To see all templates, go to Preferences | Live Templates and expand the Template Group.

Settings-Window

Live Template Groups

FroshProfiler

  • sqlformat
    • Output QueryBuilder and replace all Parameters
  • dd
    • Dump and Die using the Symfony VarDumper

General

  • debug
    • Dump variables using Doctrine Util Debug
  • debugevent
    • Dump event listeners by event name

Smarty

  • block
    • Create a new block
  • extends
    • Extends from a file
  • include
    • Include a file
  • s
    • Create a snippet
  • dynamics
    • Create a dynamic snippet
  • currency
    • Output and format a variable to currency
  • each
    • Create a foreach
  • if
    • Create a if statement
  • loop
    • Create a for loop
  • url
    • Link to a controller / action
  • action
    • Include a controller / action
  • debug
    • Open debug window

Contribute

You have a idea for a Shortcut? Feel free to create a Pull Request!

About

Shopware Live Templates for PhpStorm

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published