SlideShare a Scribd company logo
IDE - PhpStorm
PhpStorm is a paid IDE.
You can use it's trial version or EAP version.
EAP: Early Access Program.
jetbrains.com/phpstorm/
confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program
IDE – PhpStorm
Installation
Download the tar.gz file.
Extract it in to the home directory.
Cd into {Extracted directory}/bin/
$ sudo ./phpstorm.sh
[In linux .sh files are shell scripts. This is how we
execute shell scripts from terminal. Using
./filename.sh ]
IDE – PhpStorm
IDE Settings
Toggle Sidebar:
→ View
→ Tool Windows
→ Project [ Alt + 1 ]
Word Wrap:
For all files:
File → Settings → Editor → General → Use soft wraps in
editor.
For current file:
View → Active Editor → Use soft wraps.
IDE – PhpStorm
IDE Settings
Remove Breadcrumbs:
File → Settings.
Search for Breadcrumbs.
[ These tuts are for Ubuntu.
In MAC:
PhpStorm → Preferences ]
IDE – PhpStorm
IDE Settings
Remove Status bar:
View → Status bar.
Remove Navigation bar:
View → Navigation bar.
Show Terminal:
View → Tool Windows → Terminal. [ Alt + F12 ]
IDE – PhpStorm
IDE Settings
Modify Current Theme:
For example changing Font and Font Size -
File
→ Settings
→ Editor
→ Colors & Fonts
Save the current scheme first then
→ Font
Change font properties here.
IDE – PhpStorm
IDE Settings
Choose PhpStorm Themes:
→Daylerees.github.io (demos)
→Github.com/daylerees/colour-schemes
→Click on jetbrain from file list
→Click on theme name from file list
→Click on “Raw” button
→Copy raw url.
IDE – PhpStorm
IDE Settings
Installing PhpStorm Themes:
→ cd into ~/ [home directory]
→ ls -a [shows all files including dot files.]
→ cd .WebIdeXX
→ ls …
→ finally cd into: ~/.WebIde90/config/colors$
→ wget url [previously copied url]
→ Restart the IDE.
IDE – PhpStorm
IDE Settings
Search for anything:
Help → Find Action [Ctrl + Shift + A]
Let's search and install a plug-in:
→ Press Ctrl + Shift + A and search for Plugins
→ Configure Plugins
→ Click on the button Brows Repositories
→ Search for Color
→ Color Ide [Applies background color to all three views.]
→ Install.
IDE – PhpStorm
USES
Open a Class:
Navigate → Class (Ctrl + N)
Open a New File:
Navigate → File (Ctrl + shift + N)
Open a Symbol (Function declaration / CSS class etc.):
Navigate → Symbol (Ctrl + Alt + Shift + N)
IDE – PhpStorm
USES
Quick Documentation:
→ Select the class or method,
→ Press Ctrl + Q
Navigate to the Class Declaration:
→ Ctrl + Click on the class name.
IDE – PhpStorm
USES
Code Completion:
For example start typing a class name and
press Ctrl + Space to complete it.
Multiple Choices will be available.
IDE – PhpStorm
USES
Live Templates:
To see all available templates:
→ Put the cursor on a file.
→ Ctrl + J
To use a template:
→ Write the abbreviation + Tab
To Create / Edit / Delete a Live Template:
→ File → Settings → Editor → Live Templates.

More Related Content

Similar to PhpStorm Cheat Sheet

Tutorial: Install Nagios in Fedora
Tutorial: Install Nagios in FedoraTutorial: Install Nagios in Fedora
Tutorial: Install Nagios in Fedora
Filipe Batista
 
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Vidhi Kishor
 
Php Storm 8 The Most Intelligent php ide
Php Storm 8 The Most Intelligent php idePhp Storm 8 The Most Intelligent php ide
Php Storm 8 The Most Intelligent php ide
Mindfire Solutions
 
Tips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net EffectivelyTips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net Effectively
weili_at_slideshare
 
Getting Started with OpenIDM
Getting Started with OpenIDMGetting Started with OpenIDM
Getting Started with OpenIDM
ForgeRock
 
(Practical) linux 104
(Practical) linux 104(Practical) linux 104
(Practical) linux 104
Arie Bregman
 
How to configure PyCharm for Odoo development in Windows?
How to configure PyCharm for Odoo development in Windows?How to configure PyCharm for Odoo development in Windows?
How to configure PyCharm for Odoo development in Windows?
Celine George
 
FDT (Flex Mania 2010)
FDT (Flex Mania 2010)FDT (Flex Mania 2010)
FDT (Flex Mania 2010)Gabriel Peart
 
Unity 5 Overview
Unity 5 OverviewUnity 5 Overview
Unity 5 Overview
Shahed Chowdhuri
 
Sls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In PracticeSls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In PracticeQasim Khawaja
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmers
Md. Al Amin
 
Créer et gérer une scratch org avec Visual Studio Code
Créer et gérer une scratch org avec Visual Studio CodeCréer et gérer une scratch org avec Visual Studio Code
Créer et gérer une scratch org avec Visual Studio Code
Thierry TROUIN ☁
 
Devel::hdb debugger talk
Devel::hdb debugger talkDevel::hdb debugger talk
Devel::hdb debugger talk
abrummett
 
rstudio-ide.pdf
rstudio-ide.pdfrstudio-ide.pdf
rstudio-ide.pdf
BhojanDhakal2
 
Linux fundamental - Chap 03 file
Linux fundamental - Chap 03 fileLinux fundamental - Chap 03 file
Linux fundamental - Chap 03 file
Kenny (netman)
 
MobileConf 2021 Slides: Let's build macOS CLI Utilities using Swift
MobileConf 2021 Slides:  Let's build macOS CLI Utilities using SwiftMobileConf 2021 Slides:  Let's build macOS CLI Utilities using Swift
MobileConf 2021 Slides: Let's build macOS CLI Utilities using Swift
Diego Freniche Brito
 

Similar to PhpStorm Cheat Sheet (20)

Tutorial: Install Nagios in Fedora
Tutorial: Install Nagios in FedoraTutorial: Install Nagios in Fedora
Tutorial: Install Nagios in Fedora
 
Raj linux
Raj linux Raj linux
Raj linux
 
Wordpress
WordpressWordpress
Wordpress
 
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
Computer project C++ CLASS 12TH (CD MANAGEMENT SYSTEM )
 
Php Storm 8 The Most Intelligent php ide
Php Storm 8 The Most Intelligent php idePhp Storm 8 The Most Intelligent php ide
Php Storm 8 The Most Intelligent php ide
 
Tips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net EffectivelyTips and Tricks for Using Visual Studio.Net Effectively
Tips and Tricks for Using Visual Studio.Net Effectively
 
Getting Started with OpenIDM
Getting Started with OpenIDMGetting Started with OpenIDM
Getting Started with OpenIDM
 
(Practical) linux 104
(Practical) linux 104(Practical) linux 104
(Practical) linux 104
 
ICT .pptx
ICT .pptxICT .pptx
ICT .pptx
 
How to configure PyCharm for Odoo development in Windows?
How to configure PyCharm for Odoo development in Windows?How to configure PyCharm for Odoo development in Windows?
How to configure PyCharm for Odoo development in Windows?
 
FDT (Flex Mania 2010)
FDT (Flex Mania 2010)FDT (Flex Mania 2010)
FDT (Flex Mania 2010)
 
Unity 5 Overview
Unity 5 OverviewUnity 5 Overview
Unity 5 Overview
 
Sls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In PracticeSls01 Lecture02 Linux In Practice
Sls01 Lecture02 Linux In Practice
 
Linux for programmers
Linux for programmersLinux for programmers
Linux for programmers
 
Créer et gérer une scratch org avec Visual Studio Code
Créer et gérer une scratch org avec Visual Studio CodeCréer et gérer une scratch org avec Visual Studio Code
Créer et gérer une scratch org avec Visual Studio Code
 
Devel::hdb debugger talk
Devel::hdb debugger talkDevel::hdb debugger talk
Devel::hdb debugger talk
 
rstudio-ide.pdf
rstudio-ide.pdfrstudio-ide.pdf
rstudio-ide.pdf
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux fundamental - Chap 03 file
Linux fundamental - Chap 03 fileLinux fundamental - Chap 03 file
Linux fundamental - Chap 03 file
 
MobileConf 2021 Slides: Let's build macOS CLI Utilities using Swift
MobileConf 2021 Slides:  Let's build macOS CLI Utilities using SwiftMobileConf 2021 Slides:  Let's build macOS CLI Utilities using Swift
MobileConf 2021 Slides: Let's build macOS CLI Utilities using Swift
 

Recently uploaded

Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
dxobcob
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
ClaraZara1
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
ambekarshweta25
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
Kamal Acharya
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
itech2017
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
NidhalKahouli2
 

Recently uploaded (20)

Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
一比一原版(Otago毕业证)奥塔哥大学毕业证成绩单如何办理
 
6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)6th International Conference on Machine Learning & Applications (CMLA 2024)
6th International Conference on Machine Learning & Applications (CMLA 2024)
 
An Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering TechniquesAn Approach to Detecting Writing Styles Based on Clustering Techniques
An Approach to Detecting Writing Styles Based on Clustering Techniques
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Online aptitude test management system project report.pdf
Online aptitude test management system project report.pdfOnline aptitude test management system project report.pdf
Online aptitude test management system project report.pdf
 
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABSDESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
DESIGN AND ANALYSIS OF A CAR SHOWROOM USING E TABS
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
basic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdfbasic-wireline-operations-course-mahmoud-f-radwan.pdf
basic-wireline-operations-course-mahmoud-f-radwan.pdf
 

PhpStorm Cheat Sheet

  • 1. IDE - PhpStorm PhpStorm is a paid IDE. You can use it's trial version or EAP version. EAP: Early Access Program. jetbrains.com/phpstorm/ confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early+Access+Program
  • 2. IDE – PhpStorm Installation Download the tar.gz file. Extract it in to the home directory. Cd into {Extracted directory}/bin/ $ sudo ./phpstorm.sh [In linux .sh files are shell scripts. This is how we execute shell scripts from terminal. Using ./filename.sh ]
  • 3. IDE – PhpStorm IDE Settings Toggle Sidebar: → View → Tool Windows → Project [ Alt + 1 ] Word Wrap: For all files: File → Settings → Editor → General → Use soft wraps in editor. For current file: View → Active Editor → Use soft wraps.
  • 4. IDE – PhpStorm IDE Settings Remove Breadcrumbs: File → Settings. Search for Breadcrumbs. [ These tuts are for Ubuntu. In MAC: PhpStorm → Preferences ]
  • 5. IDE – PhpStorm IDE Settings Remove Status bar: View → Status bar. Remove Navigation bar: View → Navigation bar. Show Terminal: View → Tool Windows → Terminal. [ Alt + F12 ]
  • 6. IDE – PhpStorm IDE Settings Modify Current Theme: For example changing Font and Font Size - File → Settings → Editor → Colors & Fonts Save the current scheme first then → Font Change font properties here.
  • 7. IDE – PhpStorm IDE Settings Choose PhpStorm Themes: →Daylerees.github.io (demos) →Github.com/daylerees/colour-schemes →Click on jetbrain from file list →Click on theme name from file list →Click on “Raw” button →Copy raw url.
  • 8. IDE – PhpStorm IDE Settings Installing PhpStorm Themes: → cd into ~/ [home directory] → ls -a [shows all files including dot files.] → cd .WebIdeXX → ls … → finally cd into: ~/.WebIde90/config/colors$ → wget url [previously copied url] → Restart the IDE.
  • 9. IDE – PhpStorm IDE Settings Search for anything: Help → Find Action [Ctrl + Shift + A] Let's search and install a plug-in: → Press Ctrl + Shift + A and search for Plugins → Configure Plugins → Click on the button Brows Repositories → Search for Color → Color Ide [Applies background color to all three views.] → Install.
  • 10. IDE – PhpStorm USES Open a Class: Navigate → Class (Ctrl + N) Open a New File: Navigate → File (Ctrl + shift + N) Open a Symbol (Function declaration / CSS class etc.): Navigate → Symbol (Ctrl + Alt + Shift + N)
  • 11. IDE – PhpStorm USES Quick Documentation: → Select the class or method, → Press Ctrl + Q Navigate to the Class Declaration: → Ctrl + Click on the class name.
  • 12. IDE – PhpStorm USES Code Completion: For example start typing a class name and press Ctrl + Space to complete it. Multiple Choices will be available.
  • 13. IDE – PhpStorm USES Live Templates: To see all available templates: → Put the cursor on a file. → Ctrl + J To use a template: → Write the abbreviation + Tab To Create / Edit / Delete a Live Template: → File → Settings → Editor → Live Templates.