- .editorconfig
- codestyles/Barrel Strength - Craft CMS Project.xml
- inspection/Barrel Strength - Craft CMS Project.xml
- Go to PhpStorm Preferences → Tools → Settings Repository
- Add Read-only Source
https://github.com/craftcms/phpstorm-settings
- Add Read-only Source
https://github.com/barrelstrength/PhpStorm-Live-Templates-Craft-CMS
(optional) - Add Read-only Source
https://github.com/barrelstrength/PhpStorm-Live-Templates-Twig-Extended
(optional) - Restart PhpStorm
Add .editorconfig
to your project and enforce using the plugin Editor Config plugin
Update the project's Code Style Scheme to use the configuration: Barrel Strength - Craft CMS Project
- Install from Preferences → Editor → Code Style → Scheme… → Import…
Update the project's Inspections Profile to use the configuration: Barrel Strength - Craft CMS Project
- Install from Preferences → Editor → Inspections → Profile… → Import…
- Php Inspections (EA Extended) – Adds lots of PHP best practices inspections
- Yii2 and Craft CMS 3 Inspections - Yii 2 and Craft-specific inspections in PhpStorm
- PhpStorm Live Templates Craft CMS
- PhpStorm Live Templates Twig Extended