IntelliJ IDEA
 
Get IntelliJ IDEA
You are viewing the documentation for an earlier version of IntelliJ IDEA.

Code Style. PHP

Last modified: 18 June 2021

File | Settings | Editor | Code Style | PHP for Windows and Linux

IntelliJ IDEA | Preferences | Editor | Code Style | PHP for macOS

Ctrl+Alt+S the Settings/Preferences icon

Use this page to configure formatting options for PHP files. When you change these settings, the Preview pane shows how this will affect your code.

Tabs and Indents