Unlike compiled software code, PHP code is often coded simply with the use of a good text editor. That doesn’t mean programmers are not looking for a good PHP IDE if it comes along. Today, we are going to talk, for the first time at this blog, about a great IDE to use with PHP based projects. It is called PHPStorm for good reason, as it is jam packed full of functionality and features, such as …
- PHP Code Editor
- PHP 5.3, 5.4, 5.5, 5.6 & 7 support
- smart code completion
- syntax highlighting
- extended code formatting configuration
- on-the-fly error checking
- code folding
- language mixture support
- Debugging, Testing and Profiling
- context-relevant local variables and user-defined watches
- edit values on the fly
- remote debugging for your server
- debug in multiple sessions simultaneously
- keep debugging session alive while moving between pages
- HTML/CSS/JavaScript Editor
- DOM-based, browser-specific completion
- live editing preview
- utilize all the power of Emmet (formerly Zen Coding)
- JavaScript refactorings available are Rename, Extract Variable/Function, Inline Variable/Function, Move/Copy, Safe Delete, Extract embedded script into file
- automatic compilation/transpilation of modern web development languages to JavaScript (from CoffeeScript, TypeScript, Dart, etc) or CSS (from Sass, SCSS, Less, Stylus, Compass, etc.)
- JavaScript debugger
- auto-fixes for such problems as: missing required attributes, invalid attributes or illegal values, wrong references to files in links, duplicate attributes, invalid CSS selector format, invalid CSS properties, unused CSS class definitions, invalid local anchors
- Angular 2, TSLint, JSLint/JSHint, Node.js, Flow support
- Development Environment
- version control for Git, Subversion, Mercurial, Perforce, CVS, TFS supported
- tools and code assistance features for work with database and SQL in your projects
- analyze schema with UML diagrams
- track any changes made to your source files, protecting you from any accidental losses or modifications
- helps developers to understand and change their code by providing editable UML class diagrams for PHP code
- plugin repository contains 250+ IDE plugins of all kinds
- Vagrant is a handy tool, allowing you to share a development virtual machine, is natively integrated
- REST Client is integrated in the IDE
- SSH Console let you connect to any remote machine and perform various actions via SSH
- Google App Engine applications for PHP development along with ability to delegate routine deployment tasks to the IDE
- Composer (dependency manager for PHP) is supported
- pre-configured command completion for various external command-line tools, including Composer, Symfony console, Zend Framework 2 tool (ZFTool), Zend Framework 1 tool, Drush for Drupal, Tools based on Symfony console (Laravel, Doctrine)
- ability to use a remote interpreter instead of a local one with PHP based application on real server or a virtualized one created with Vagrant
- completes and checks standard tags, properties, target names, path attribute values in build files, via Phing
- same integrated development environment on Windows, Mac OS X and Linux with your single key
- Docker plugin allows user to add Docker support to existing projects, view logs, manage Docker containers
- if ToDo list is in an issue/bug tracking system, you can configure PhpStorm to work with the issues without switching from the IDE
… and more features can be read about from the PHPStorm website, by JetBrains. The information above comes from the website.
With today’s slideshow, we take up our introductory look at PHPStorm after the install (onto a MacBook Pro laptop running a local Apache MAMP web server) and download, opening some existant PHP code, as a PHPStorm project, which we then Run (or Execute).
We hope this is food for thought for you, in months not starting with M (because we want to remind you to “beware the ides of March” … boom, boom), using the great PHP language in a more integrated and dynamic environment, to hand coded, text edited PHP.
If this was interesting you may be interested in this too.