PhpStorm 8 is undoubtedly the Most Intelligent PHP IDE and features a rich and intelligent code editor for PHP. Supports PHP 5.3, 5.4, 5.5 & 5.6 for modern and legacy projects. The IDE provides a list of features that includes smart code completion, syntax highlighting, extended code formatting configuration, on-the-fly error checking, code folding, supports language mixtures and more.
5. What’s new in PhpStorm 8 ?
Laravel’s Blade templates
BDD for PHP using Behat
Full WordPress support
Remote PHP interpreters
Advanced AngularJS support
IDE Improvements
Multiple Carets and Selections
Work with individual files without creating a project
Presenter: Tanmaya Biswal, Mindfire
Solutions
6. Frameworks Support
The existing support of template engines and
command-line tools is boosted with a more high-
level feature: an MVC view for Symfony2 & Yii
frameworks.
Plugins are also available bringing various
framework-specific features, such as code
completion, navigation, type inference and other
IDE best practices for various PHP frameworks
(Symfony, Drupal, Magento, Zend etc.).
Presenter: Tanmaya Biswal, Mindfire
Solutions
7. Code Formatting
Code formatter with code style configuration and
other features help you write neat code that's
easy to support.(Project Settings | Editor | Code Style |
PHP)
PhpStorm contains built-in PSR1/PSR2,
Symfony2, Zend, Drupal & other standards
compliant code formatting.
Presenter: Tanmaya Biswal, Mindfire
Solutions
8. Code Quality Analysis
Hundreds of code inspections verify your code as
you type and inspect the whole project for
possible errors or code smells.
Quick-fixes for most inspections make it easy to
fix or improve the code instantly. Alt+Enter shows
appropriate options for each inspection.
Ex:
PHP Code Sniffer & Mess Detector
Smart Duplicated Code Detector
Presenter: Tanmaya Biswal, Mindfire
Solutions
9. Easy Code Navigation &
Search
Navigate to Class: Ctrl+N (CMD+O on Mac OS X)
Navigate to File: Ctrl+Shift+N (Shift+Cmd+O on
Mac OS X)
Navigate to Symbol: Ctrl+Shift+Alt+N
(Alt+CMD+O on Mac OS X)
Search Everywhere: (Double Shift)
Navigate to Declaration: Ctrl+Click (CMD+Click
on Mac OS X)
Next / Previous Method: Alt+Down / Up
Recent Files: Ctrl+E (or CMD+E on Mac OS X)
Navigate to Last Edit Location:
Ctrl+Shift+Backspace (Shift+CMD+Delete on Mac
Presenter: Tanmaya Biswal, Mindfire
Solutions
11. JavaScript Debugging
Install the JetBrains Chrome extension
Set a Breakpoints
Start a Debugging Session
Debugging!
Stepping through Code
Presenter: Tanmaya Biswal, Mindfire
Solutions
12. HTML editor support
1. Editing HTML using PhpStorm
2. Open in Browser
3. Working with Live Edit
HTML is quite verbose. To write HTML code
faster and more efficient, PhpStorm lets us use
Emmet, which provides a shorthand for lots of
things.
For example, we can type p>lorem and hit TAB
to expand into a paragraph with Lorem Ipsum
text.
A more advanced example would be
div#container>div.span4*3>img.thumbnPresenter: Tanmaya Biswal, Mindfire
Solutions
13. CSS editor support
Just like when editing PHP code, PhpStorm comes with a rich editor
for CSS. It comes with code completion, formatting, intentions,
navigation and so on.
Presenter: Tanmaya Biswal, Mindfire
Solutions
14. CSS editor support(cont..)
PhpStorm comes with several intentions for CSS as well. There are a lot of
them, for example to change colors, expanding CSS, extracting images,
replacing quotes, or to optimize properties:
Presenter: Tanmaya Biswal, Mindfire
Solutions
15. CSS editor support(cont..)
Using the Show Applied Styles for Tag context menu on any HTML
tag, we can see which styles are effectively applied to a DOM
element and where the various CSS properties originate from.
Presenter: Tanmaya Biswal, Mindfire
Solutions
16. Version Control Support
It supports:
SVN, CVS, GIT, Mercurial
From the VCS menu, we can:
Commit and update a file/directory or an entire project.
Work with changelists.
Diff and rollback (revert) changes.
View revision history for file/directory.
Configure of common version control system settings.
Open the Advanced Version Control tool window, with multiple
dedicated tabs for viewing History, Status, Update Info and so on.
Presenter: Tanmaya Biswal, Mindfire
Solutions
17. Working with Remote PHP
Interpreters
Presenter: Tanmaya Biswal, Mindfire
Solutions
18. Tips and Tricks
PhpStorm allows creating a tempopary text file or a piece of code,
and then just throw it away, when it's not needed any more.
(Alt+Ctrl+Shift+Insert)
Find code occurrences to change.(Alt+Ctrl+Shift+J)
Delete one line.(Ctrl+Y)
Duplicate one line. (Ctrl+D)
The Database tool window provides access to basic info about the
database objects. (Ctrl+Q)
Code completion for sql query.
You can quickly view the image referenced at caret by using the
Quick Definition (Ctrl+Shift+I). The underlying image will be
opened in a popup instead of a separate editor tab.
Format your Code(Alt+Ctrl+Shift+L)
Local history of a file(Ctrl+Shift+J)
Rename your css selectors from html file.(Shift+F6)
Presenter: Tanmaya Biswal, Mindfire
Solutions
19. Live Templates (Snippets)
we will see what Live Templates (Snippets) are and how they can be
used to insert frequently-used snippets into our source code
quickly.
Presenter: Tanmaya Biswal, Mindfire
Solutions
20. How to Install PhpStorm ?
Follow the below links:
https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early
+Access+Program
https://www.jetbrains.com/phpstorm/help/system-requirements-
and-installation.html
https://www.youtube.com/watch?v=-wamR3WJt8I