PhpStorm Cheatsheet - PHP IDE Shortcut Reference
PhpStorm’s edge over a plain editor is framework awareness — it knows Laravel/Symfony routes, models and containers. This reference groups PHP generation, framework jump, database, debug/run and quality shortcuts on the JetBrains keymap. Use the framework-navigation keys to hop between a route, controller and blade/twig template without grepping. For PHP work where navigating an unfamiliar codebase is the daily cost. After reading you refactor and jump through a PHP app without breaking stride.
PHP-specific 10
Cmd + NCmd + Option + TCmd + Option + MCmd + Option + VCmd + Option + CCmd + PCmd + BCmd + UCmd + Option + BCmd + Option + HLaravel-specific 7
Cmd + Option + LCmd + Option + VCmd + Option + CCmd + Option + MCmd + Option + PCmd + Option + RCmd + Option + TDatabase Tools 6
Cmd + Shift + F2Cmd + Option + ReturnCmd + F9Cmd + Option + Shift + EnterCmd + UCmd + Option + NDebug & Run 11
Ctrl + RCtrl + DCmd + F2F8F7Shift + F8Alt + F9Cmd + F8Cmd + Shift + F8Cmd + Option + RCmd + Option + ECode Quality 9
F2Shift + F2Cmd + Option + Shift + ICmd + Option + Ctrl + ICmd + F1Cmd + Option + ICmd + Option + LCmd + Option + OCtrl + Option + Shift + NSymfony-specific 4
Cmd + Option + DCmd + Option + TCmd + Option + YCmd + Option + MTips
- PhpStorm is built on the IntelliJ platform; most shortcuts match WebStorm and IDEA.
- Cmd+N generates code: choose constructor, getter/setter, PHPDoc, etc. - faster than writing by hand.
- The Laravel Plugin provides quick jumps for routes, views, and controllers.
- Database tools connect directly to MySQL and PostgreSQL without switching to Navicat.
- After configuring Xdebug, Ctrl+D starts debugging; F7/F8 step through PHP code.
- Cmd+Option+L reformats code; you can configure PSR-1/PSR-2/PSR-12 in settings.
Official References
Each command links to its official documentation below, so you can verify the latest usage and read deeper.
Maintained by LaoHand
Publicly updated on Jul 21, 2026, continuously proofread against official docs.
Contact Us
Wrong command or description? Send us corrections, business inquiries or product feedback by email.
Contact Us