PHP Annotated Monthly – September 2014

PHP Annotated MonthlyHere at JetBrains, we strive to help PHP developers with excellent tools like PhpStorm that improve our code and workflow. But there’s more to developing PHP applications than that: learning from others and keeping up with what’s going on out there so we can improve our own code.

In this post, I’ll be highlighting the most interesting content from around the web, posted by developers like us. This type of post is an experiment: we don’t know yet if we’ll be doing it monthly or not. It’s up to you! Would you be interested? Or not? Let us know what you think in the comments below.

Continue reading

Posted in PHP Annotated Monthly | Tagged , , , | 11 Comments

PhpStorm 8 released: Blade, Behat, WordPress, Remote PHP interpreters, multiple carets/selections, and more

ps8_blogPhpStorm 8, the new major release of our professional PHP IDE, is now available for download!

Read all about the new features and improvements on the PhpStorm website.

This release champions the needs of developers working with proven and emerging web technologies, for both front and backend development.

The key PhpStorm 8 enhancements and additions include:

This release also inherits all of the great improvements made in the underlying IntelliJ Platform including: multiple carets and selections, working with a single file without creating a project, bundled Scratch plugin, EditorConfig support, and more.

These awesome new features and many more are covered in detail on the PhpStorm website, where you can also download a free 30-day trial for your platform.

PhpStorm 8 is available as a free update if you purchased your license after September 16, 2013!

We invite you to join our upcoming webinar, What’s New in PhpStorm 8: Evolving with You, featuring Maarten Balliauw, Tuesday, October 7th.

Develop with PhpStorm 8, the PHP IDE that evolves with you!
– JetBrains PhpStorm Team


Get PhpStorm

Posted in Release Announcements | Tagged , , , , , | 36 Comments

JetBrains & Zend technology partnership brings integration between PhpStorm and Zend Server

zend_server_phpstorm_logoToday we are glad to announce that Zend and JetBrains team up to integrate PhpStorm and Zend Server, bringing in-context visibility and insight to developers with the help of both tools.

Zend Server is an integrated platform for mobile and web apps, helping in all phases of the application life cycle. What is new in Zend Server 7 is the expanded support for developers. Zend Server 7 includes the all-new Z-Ray, which gives unprecedented, in-context visibility inside apps, by showing in real time exactly what happens to construct each page. It helps developers write better code, detect and fix issues earlier, and collaborate with operations staff to resolve production problems faster.

Zend Server now seamlessly integrates with PhpStorm IDE, providing advanced features for debugging and profiling web applications.

zend_server_tutorial_16

In the full tutorial on Using PhpStorm with Zend Server we look into how to configure integration and proceed with debugging, profiling or deploying your code, or using many built-in tools with PhpStorm while Zend Server takes care of your PHP environment.

“Quality software delivered quickly across many types of devices is a prerequisite for innovation,” said Guy Harpaz, Senior Director of Product Management, Zend. “At the heart of quality software is quality code. Zend Server Z-Ray’s integration with PhpStorm empowers both PhpStorm and Zend Server users to address code-related errors early, making application development more efficient across the board. Both businesses and consumers will reap the rewards of this elevated ‘quality control.’”

“We are very excited to add new capabilities to PhpStorm that bring productivity gains for our users,” said Alexey Gopachenko, JetBrains PhpStorm Product Manager. “The integration with Zend Server, and specifically Z-Ray, provides an unprecedented level of visibility that allows developers to see how their code is running as they develop it. This ‘X-Ray’ insight puts the developer in control, translating into higher-quality code produced faster. The combination of Zend Server Z-Ray and PhpStorm is a true win-win throughout the development cycle for both developers and managers, especially for enterprise-oriented projects.”

For more information on Zend Server, check out Zend website.

Zend Server Developer Edition is available starting at $195, with a 30-day trial available on both standalone and AWS-run editions. For a limited time, PhpStorm users can save 20% off the regular price with coupon code PHPSTORM in the shop.

Make sure to sign up for the webinar demonstrating the integration, scheduled for September 23rd.

Develop with pleasure using PhpStorm and Zend Server!
-JetBrains PhpStorm and Zend Teams

Posted in Cool Feature | Tagged , , , , , , | 2 Comments

Language Injections Enhancements in PhpStorm 8

In many codebases, small islands of different programming languages are being used in code, for example chunks of JavaScript written in a PHP string, or portions of HTML in a JavaScript variable, or database queries inside a string. With PhpStorm 8, we’ve enhanced the Language Injections feature to make working with different language fragments a breeze.

Here’s an example. We’re generating an HTML e-mail body here in which we’re using several PHP variables and so forth. PhpStorm recognizes that the string holds HTML mixed with PHP and provides syntax highlighting, code completion and navigation. Yes, all inside a string.

Language Injections recognize HTML and PHP

But there’s more! Let’s look inside. Continue reading

Posted in Cool Feature, Early Access Program | Tagged , , , , , , , | 10 Comments

PhpStorm 8 EAP 138.2071

PhpStorm 8 EAP 138.2071 is available for download.

This update brings support for PSR-2 code formatting of multi-line arguments, support for Behat 3 Turnip regular expressions, and many bug fixes (see full list in our issue tracker)…

Improvements of IntelliJ platform and web changes are also included, see complete release notes.

Download PhpStorm 8 EAP build 138.2071 for your platform from project EAP page and please report any bugs and feature request to our Issue Tracker. Patch-update will be available within an hour from the previous EAP build (PhpStorm 8 EAP 138.1901, Public Preview).

Develop with pleasure!
-JetBrains PhpStorm Team

Posted in Early Access Program | Tagged | 11 Comments

Quick edits with PhpStorm 8: Working with single files without a project & built-in Scratch plugin

Quick changes to a single file (like a configuration file or just some non-project file) require quick solutions, and creating a full PhpStorm project seems like overkill to change a line or two. The same applies to creating quick drafts.

With a clear understanding of the pain involved in such workflows, we are glad to bring you two major changes improving quick edits in the upcoming PhpStorm 8:

  • Working with single files without a project
  • Built-in Scratch plugin to create quick temporary drafts

Continue reading

Posted in Cool Feature, Early Access Program | Tagged , , , , | 23 Comments

PHP 5.6 support in PhpStorm 8

PhpStorm 8 comes with PHP 5.6 support. With this latest PHP version released end of August, we don’t want to keep you from using new language features like exponentiation via **, use function and use const, constant expressions, variadic functions, argument unpacking and so on. In this post, we’ll have a look at a few interesting new language features. Visit the PHP website to learn about all of them.

Setting the PHP Language Level

To enable PHP 5.6 for a project, we can go to Project Settings | PHP and select the PHP 5.6 language level. Of course, to run PHP 5.6 code we will also have to add an interpreter that supports this language level.

Pick PHP 5.6 language level

An inspection is there as well. When using language features that are not compatible with the configured language level, PhpStorm will tell us and offer to set the language level for us.

Language level is detected

Once done, PhpStorm lets us use the new language features. Let’s explore a few.

Continue reading

Posted in Cool Feature, Early Access Program | Tagged , , , , , | 7 Comments

PhpStorm 8 Public Preview

phpstorm_8_public_previewWe are glad to announce a Public Preview of the upcoming major release of PhpStorm 8.

PhpStorm 8 Public Preview build 138.1901 is available, bringing a lot of interesting features and major improvements.

Continue reading

Posted in Early Access Program | Tagged , | 28 Comments

Symfony Development using PhpStorm

symfony-logoFor more than a year developers working on projects built with Symfony2 framework have enjoyed dedicated Symfony2 Open Source plugin maintained by Daniel Espendiller.

With over 730,000 downloads to date, this plugin enhances PhpStorm’s advanced features, adding many Symfony2-specific features using extension points provided in the IDE for third-party plugin authors.

Today we are glad to publish a series of tutorials prepared by JetBrains Technical Evangelist Maarten Balliauw, covering the entire workflow of Symfony2 web applications development using PhpStorm IDE with Symfony2 plugin.

Have a look at the table of contents here, and make sure to proceed reading full Symfony Development using PhpStorm tutorial.

Continue reading

Posted in Cool Feature | Tagged , , | 9 Comments