These questions were shown only to the developers who chose PHP as one of their three primary programming languages.
The popularity of PHP is still the highest in France: 43% of French developers use it as a primary language, which is 5 percentage points more than last year.
PHP 7.4 usage continued to grow over the past year. Now it is the most popular PHP version (76%, 32 percentage points added since 2020). The new PHP 8.0 is also rapidly growing and 34% of PHP developers said they use it.
The majority of PHP developers are using local environments (74%). The share of containerized environments hasn’t grown over the last year and remains at 45%.
The popularity of Laravel has increased massively in the last year (from 50% to 67%). The shares of Symfony (24%) and WordPress (22%) remain similar to before.
The usage of async tools has not changed significantly since last year. But with Fibers accepted for PHP 8.1 and the Laravel Octane release planned for 2021, we may see an increased awareness and adoption of async techniques in PHP.
Despite all the measures we’ve taken to secure a representative pool of respondents, the results may be slightly shifted towards users of JetBrains products, as they are more likely to take the survey.
Writing tests has become more common among PHP developers (72%, an increase of 8 percentage points). PHPUnit usage (63%) has increased by 13 percentage points. The breakthrough award goes to Pest which was first released in 2020, but already has a 6% share.
The popularity of static analysis tools in the PHP ecosystem continues to grow. Although, when compared to other languages, PHP’s static analysis adoption is still below average.
If you are looking into static analysis for PHP projects, consider Qodana, which lets you run PhpStorm checks on CI in a Docker container.
PHP is still primarily used to develop websites (81%), while another relatively common field of implementation is utilities (27%).
Thank you for your time!
We hope you found our report useful. Share this report with your friends and colleagues.
Participate in future surveys
If you have any questions or suggestions, please contact us at email@example.com.