https://github.com/staempfli/magento2-phpstorm-templates
PHPStorm Live template preferences for Magento 2 Projects
https://github.com/staempfli/magento2-phpstorm-templates
magento phpstorm-templates
Last synced: 22 days ago
JSON representation
PHPStorm Live template preferences for Magento 2 Projects
- Host: GitHub
- URL: https://github.com/staempfli/magento2-phpstorm-templates
- Owner: staempfli
- Created: 2016-07-01T07:46:40.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-09-16T12:01:49.000Z (over 4 years ago)
- Last Synced: 2024-11-01T00:12:17.689Z (6 months ago)
- Topics: magento, phpstorm-templates
- Language: PHP
- Homepage:
- Size: 20.8 MB
- Stars: 227
- Watchers: 37
- Forks: 48
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Magento 2 PHPStorm Preferences
[](http://www.repostatus.org/#abandoned)
This project is intended to setup useful PHPStorm Templates for Magento 2 Projects.
## Disclaimer
This project overrides the default file template `PHP Class.php` to add a specific header comments.
We need to edit this file instead of creating a new one because automatic Namespace only works on this specific template.
All other templates are custom ones with a naming prefix `2m` in order to make them unique.## Installation
0. Just download the `.jar` file and import it in your PHPStorm `File -> Import Settings`
* `https://github.com/staempfli/magento2-phpstorm-templates/releases//stmpfl_2m_templates.jar`
0. Set your personal configuration for comments on PHPStorm `Preferences -> Editor -> File and Code Templates -> stmpfl_variables`

## Available Templates
* [File Templates](docs/fileTemplates.md)
* [Live Templates](docs/liveTemplates.md)## Usage
All file and live templates namings start with `2m` except `PHP Class.php`.
We need to use the default `PHP Class.php` because automatic Namespace only works on this specific template.## Contribute
You can contribute with new templates following this manual:
* [Contribute manual](./docs/contribute.md)
## Demo
