According to The State of Developer Ecosystem 2021 released by JetBrains, PhpStorm is the most popular IDE used by PHP developers, while VS Code stands second.
If you rework code, share your contributions with your team
If you’re a PHP developer and work as a team, you may already have met source code in your project that you must rework to make it more understandable. You did so because you were convinced some best practices were not applied. The author of the source code probably did not know them or did not realize a bad practice was introduced. These practices can be related to PHP itself, Lavarel/Symfony usage, Performance, Security, or any topic of interest.
In any case, that was an excellent opportunity for you to make the code cleaner. However, it would be even more efficient if the author took knowledge of your action. Let’s go further: what if your whole team could benefit from your changes? And even other teams in your organization?
Let’s see how to achieve that.
#1 Catch an example of best practice in PhpStorm
First, you’ll have to install the Promyze plugin and create an account on Promyze to get your API key.
Once everything is ready, just keep on coding until you realize a specific code snippet does not follow a best practice. Let’s take a simple example with this Laravel best practice, but assume you’ll define a practice specific to your context.
It’ll take you no more than 30 seconds to catch this snippet of code and send it to Promyze.
Social media