Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shyim/shopware5-live-templates

Shopware Live Templates for PhpStorm
https://github.com/shyim/shopware5-live-templates

phpstorm phpstorm-settings shopware

Last synced: about 2 months ago
JSON representation

Shopware Live Templates for PhpStorm

Awesome Lists containing this project

README

        

# 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](https://i.imgur.com/R6gSpf9.png)

## Live Template Groups

- [FroshProfiler Specific](#FroshProfiler)
- [General](#General)
- [Smarty](#Smarty)

### 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!