youwe / coding-standard-phpstorm
Youwe PHP Coding Standard PHPStorm integration
Installs: 41 895
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 8
Open Issues: 1
Type:composer-plugin
Requires
- php: ^7.1
- composer-plugin-api: ^1.0 || ^2.0
Requires (Dev)
- ext-simplexml: *
- composer/composer: @stable
- kint-php/kint: @stable
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: @stable
- dev-master
- 2.4.0-RC2
- 2.4.0-RC1
- 2.4.0-RC
- 2.3.1
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.6
- 2.0.3
- 2.0.0
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
- dev-feature/OTPBBBBBZP-117-new
- dev-feature/OTPBBBBBZP-117
- dev-feature/version-3.0
- dev-feature/composer-2-compatibility
- dev-feature/support-composer-v2
- dev-feature/MG-973
- dev-feature/strict-types
This package is auto-updated.
Last update: 2024-10-30 01:32:06 UTC
README
coding-standard-phpstorm
Sets up PhpStorm coding standards for a project.
Installation
This package is installed using Composer:
composer require mediact/coding-standard-phpstorm
Configuration
Use PHPStorm's file > settings > language > PHP
menu to point to the installed binaries for PHPMD and PHPCS.
Live Templates
You now get live templates that can be be found in file > settings > Editor -> Live Templates
.
These templates can be enabled/disabled.
At this moment there have been live templates created for:
- ACL
- DB Schema
- DI
- Events
- Menu
- Module
- Phtml (WIP)
- Registration
- System
Check out this link to see more info
Templates
You now get live templates that can be be found in file > settings > Editor -> File and Code Templates
.
These can be enabled and disabled for if you want to use them or not. If no phpstorm templates are shown please restart PhpStorm.
At this moment there have been templates created for:
- ACL
- Class
- Class - Backend Controller
- Class - Block
- Class - Helper
- Class - Observer
- Class - ViewModel
- Config
- DB Schema
- DI
- Events
- Extension Attributes
- Layout
- Menu
- Module
- Registration
- Routes
- Sales
- System
- System Include
Check out this link to see all commando's that can be used.