phpstorm-settings
phpstorm-settings copied to clipboard
PhpStorm settings used for Craft CMS development.
PhpStorm Settings for Craft CMS
Settings Files
-
Craft_Code_Style.xml
– Code style scheme. Install from Preferences → Editor → Code Style → ⚙️ → Import Scheme… -
Craft_Inspections.xml
– Inspection profile. Install from Preferences → Editor → Inspections → ⚙️ → Import Profile…
Recommended PhpStorm Plugins
- Php Inspections (EA Extended) – Adds lots of PHP best practices inspections
- Yii2 Inspections – Adds some Yii 2 and Craft-specific inspections
Other Resources
- Craft Coding Guidelines – Guidelines for Craft CMS and Craft plugin development.
- Generator – Scaffold Craft plugins, modules, and CMS components from the command line.