My Top 10 PhpStorm Tricks
Some really good tricks shared by Christoph
Posts tagged with ide
Some really good tricks shared by Christoph
– dev.to
Ben Ramsey explains how can start working on PHP's source code using JetBrains' C IDE.
Read more [dev.to]
Join thousands of developers
Every two weeks, I share practical tips, tutorials, and behind-the-scenes insights from maintaining 300+ open source packages.
No spam. Unsubscribe anytime. You can also follow me on X.
Project Lanai is a joint effort between JetBrains and Oracle that looks to solve performance problems by utilizing Apple's Metal API for rendering the application instead of OpenGL. My colleague Alex tried using it in PhpStorm
Read more [alexvanderbist.com]
When using PHP, you've probably used DocBlocks. They can be used to add additional information that can't be inferred by looking at the source code alone. DocBlocks can be used by IDEs, like PhpStorm, to improve autocomplete suggestions.
In this blogpost, I'd like to highlight a not so well known DocBlock: mixin.
?? Laravel Core Adventures - Did you know?
— Christoph Rumpel ? (@christophrumpel) April 17, 2019
In Laravel, we can access related data as if we would call a class property. But in fact, this is just a shortcut/hack for using the relationship method we have defined.
The second approach has one advantage, your IDE can follow it. pic.twitter.com/OjL4zNqUnp
Read more [twitter.com]
A lesser-known @laravelphp feature: You can define your IDE/editor in your config/app.php file to let the Whoops error handler allow you to open files directly from within the error message. pic.twitter.com/My0BUjTIrM
— Marcel Pociot (@marcelpociot) 10 juli 2018
Read more [twitter.com]
In an absolutely fantastic post Caleb Porzio, engineer at Tighten Co., goes through his VS Code setup. He goes over his extensions, key bindings, must-have settings, ...
I’m using VS Code as my primary editor these days and am really digging it. My setup is by no means perfect, but I've made lots of little tweaks along the way that you may benefit from. I've set up these nifty categories, so feel free to jump around and try stuff out as you go, or come back later and use it as a reference.
http://calebporzio.com/my-vs-code-setup-2/
I've made the switch from PhpStorm to VS Code a couple of weeks ago and have been using it ever since. I like the speed improvements over PhpStorm, the zen feel, the xdebug experience, ... It just feels lighter (and I mean that in a good way) compared to PhpStorm.
If you want to give VS Code a shot too, go watch the free Visual Studio Code for PHP developers course on Laracasts.
Here's a great story by Collin O'Dell, maintainer of league/commonmark amongst other things, on how he was able to extract the class definitions out of obfuscated PHP source files.
Per the framework's license, decrypting the IonCube-protected code was not allowed. This meant it was impossible to recover the original source code. However, I could require those files and execute them in PHP, which would cause those classes to become usable in code. So how does one figure out what code just got loaded & executed?
https://www.colinodell.com/blog/201708/generating-ide-stubs-ioncube-encoded-classes
Nikush Patel created an awesome little site where he shares PHPStorm tips. Every tip is demonstrated by an animated gif.
I'm a big fan of PhpStorm and an equally big fan of keyboard shortcuts and optimised workflows, so I wanted to share all the best tips and tricks I know to help everyone else make the most of PhpStorm as well!I produce useful tips in bite-sized gif recordings so they are easier to consume than reading the docs.
Gary Hockin is a developer advocate at JetBrains, the firm that created PhpStorm. In this Nomad PHP video Gary shares some of his favourite PhpStorm secrets.